Skip to content
Snippets Groups Projects
Commit 22b6db87 authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

added missing ;

parent f655e3e9
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ namespace armarx::aron::cppserializer::serializer ...@@ -170,7 +170,7 @@ namespace armarx::aron::cppserializer::serializer
CppMethodPtr m = CppMethodPtr(new CppMethod(getFullCppTypename() + "& operator=(const " + getFullCppTypename() + "& c)", doc.str())); CppMethodPtr m = CppMethodPtr(new CppMethod(getFullCppTypename() + "& operator=(const " + getFullCppTypename() + "& c)", doc.str()));
CppBlockPtr b = std::make_shared<CppBlock>(); CppBlockPtr b = std::make_shared<CppBlock>();
b->addLine("value = c.value;"); b->addLine("value = c.value;");
b->addLine("return *this"); b->addLine("return *this;");
m->setBlock(b); m->setBlock(b);
return m; return m;
} }
...@@ -184,7 +184,7 @@ namespace armarx::aron::cppserializer::serializer ...@@ -184,7 +184,7 @@ namespace armarx::aron::cppserializer::serializer
CppMethodPtr m = CppMethodPtr(new CppMethod(getFullCppTypename() + "& operator=(" + std::string(IMPL_ENUM) + " v)", doc.str())); CppMethodPtr m = CppMethodPtr(new CppMethod(getFullCppTypename() + "& operator=(" + std::string(IMPL_ENUM) + " v)", doc.str()));
CppBlockPtr b = std::make_shared<CppBlock>(); CppBlockPtr b = std::make_shared<CppBlock>();
b->addLine("value = v;"); b->addLine("value = v;");
b->addLine("return *this"); b->addLine("return *this;");
m->setBlock(b); m->setBlock(b);
return m; return m;
} }
...@@ -205,7 +205,7 @@ namespace armarx::aron::cppserializer::serializer ...@@ -205,7 +205,7 @@ namespace armarx::aron::cppserializer::serializer
CppBlockPtr b3 = std::make_shared<CppBlock>(); CppBlockPtr b3 = std::make_shared<CppBlock>();
b3->addLine("value = it->second;"); b3->addLine("value = it->second;");
b->addBlock(b3); b->addBlock(b3);
b->addLine("return *this"); b->addLine("return *this;");
m->setBlock(b); m->setBlock(b);
return m; return m;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment