Commit c0c24655 authored by promayon's avatar promayon
Browse files

FIXED gcc compilation

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@145 ec899d31-69d1-42ba-9299-647d76f65fb3
parent e3c63438
......@@ -146,7 +146,7 @@ void ActionGenerator::generateActionFiles() throw (QString) {
}
void ActionGenerator::writeHFile() {
void ActionGenerator::writeHFile() throw (QString) {
QString componentName(theAction->classNames().componentClass().c_str());
QFile initFile(":/resources/Action.h.in");
......@@ -237,7 +237,7 @@ void ActionGenerator::writeHFile() {
}
void ActionGenerator::writeCFile() {
void ActionGenerator::writeCFile() throw (QString) {
//Getting the parameters
QString actionName(this->theAction->name().c_str());
......@@ -394,7 +394,7 @@ void ActionGenerator::writeCFile() {
while (! text.contains(QRegExp("@END_ADDPROPERTIES@")) &&
! text.contains(QRegExp("@ELSE_ADDPROPERTIES@")) )
{
QMapIterator<QString, QPair<QString, QString>> it(parameters);
QMapIterator<QString, QPair<QString, QString> > it(parameters);
indexProp = 0;
while (it.hasNext()) {
it.next();
......@@ -459,7 +459,7 @@ void ActionGenerator::writeCFile() {
}
void ActionGenerator::writeImplementationFile() {
void ActionGenerator::writeImplementationFile() throw (QString) {
Classification::itkFilter_type schemaFilter = theAction->classification().itkFilter().get();
QString outputType = schemaFilter.outputType().get().c_str();
......
......@@ -62,7 +62,7 @@ protected:
* - second: the default value of the parameter
* (if non exists in the XML file, a default one is given)
*/
QMap<QString, QPair<QString, QString>> parameters;
QMap<QString, QPair<QString, QString> > parameters;
/// Set of additional files to include
std::set<QString> additionalIncludes;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment