Add a space between literal and string macro

In C++11 a space between a literal and string macro is required.
This commit is contained in:
Nils Gladitz 2015-06-05 20:20:25 +02:00 committed by William S Fulton
commit 925cec3a82

View file

@ -1722,7 +1722,7 @@ public:
Printf(output, "\t\t\treturn new %s%s($r);\n", prefix, Getattr(classLookup(d), "sym:name"));
} else {
Printf(output, "\t\t\t$c = new stdClass();\n");
Printf(output, "\t\t\t$c->"SWIG_PTR" = $r;\n");
Printf(output, "\t\t\t$c->" SWIG_PTR " = $r;\n");
Printf(output, "\t\t\treturn $c;\n");
}
Printf(output, "\t\t}\n\t\treturn $r;\n");