summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/tool/parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/slicer/tool/parser.cpp b/slicer/tool/parser.cpp
index b24eac6..5302044 100644
--- a/slicer/tool/parser.cpp
+++ b/slicer/tool/parser.cpp
@@ -199,14 +199,14 @@ namespace Slicer {
fprintbf(cpp, "template<> DLL_PUBLIC\n");
fprintbf(cpp, "const std::string * ModelPartForClass< %s >::typeName = nullptr;\n",
decl->typeId());
- fprintbf(cpp, "template<>\nvoid ModelPartForClass< %s >::initClassName() {\n\tclassName = new std::string(\"%s\");\n",
+ fprintbf(cpp, "template<>\nvoid ModelPartForClass< %s >::initClassName() {\n\tclassName = new std::string(\"%s\");\n\t",
decl->typeId(), c->scoped());
if (typeName) {
- fprintbf(cpp, "\t typeName = new std::string(\"%s\");",
+ fprintbf(cpp, "typeName = new std::string(\"%s\");",
*typeName);
}
else {
- fprintbf(cpp, "\t typeName = nullptr;");
+ fprintbf(cpp, "typeName = nullptr;");
}
fprintbf(cpp, "\n}\n");