mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
fix 'using namespace std::string_literals;' statement in generated code
This commit is contained in:
parent
1be791a8aa
commit
ab453d0097
@ -68,7 +68,6 @@ void CodeWriter::writeImpl(std::ostream& ostr, const std::string& headerFileName
|
||||
ostr << "#include \"Poco/StreamCopier.h\"\n";
|
||||
ostr << "#include <sstream>\n";
|
||||
}
|
||||
ostr << "\n\nusing namespace std::string_literals;\n\n";
|
||||
|
||||
std::string decls(_page.implDecls().str());
|
||||
if (!decls.empty())
|
||||
@ -76,6 +75,8 @@ void CodeWriter::writeImpl(std::ostream& ostr, const std::string& headerFileName
|
||||
ostr << decls << "\n\n";
|
||||
}
|
||||
|
||||
ostr << "using namespace std::string_literals;\n\n\n";
|
||||
|
||||
beginNamespace(ostr);
|
||||
|
||||
std::string path = _page.get("page.path", "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user