diff --git a/extern/cloop/src/cloop/Generator.cpp b/extern/cloop/src/cloop/Generator.cpp index d6e0fd166b..7b9409da0a 100644 --- a/extern/cloop/src/cloop/Generator.cpp +++ b/extern/cloop/src/cloop/Generator.cpp @@ -343,7 +343,8 @@ void CppGenerator::generate() fprintf(out, "\t\t\tif (cloopVTable->version < %d)\n", method->version); fprintf(out, "\t\t\t{\n"); - ActionParametersBlock apb = {out, LANGUAGE_CPP, prefix, "StatusType", statusName, interface, method}; + const string exceptionClass("StatusType"); + ActionParametersBlock apb = {out, LANGUAGE_CPP, prefix, exceptionClass, statusName, interface, method}; if (method->notImplementedAction) method->notImplementedAction->generate(apb, 4);