8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:03:04 +01:00

Fixed MSVC build.

(cherry picked from commit 8c6996c752)
This commit is contained in:
Vlad Khorsun 2021-09-02 00:47:19 +03:00 committed by AlexPeshkoff
parent 974c03664a
commit f502001f01

View File

@ -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);