2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-01-24 06:02:11 +00:00

Fixup coverity comments

They seemingly need to be above the line they refer to
This commit is contained in:
Alexander Grund
2021-12-20 14:21:05 +01:00
parent 8fa08b6272
commit 3178dc17ff
16 changed files with 36 additions and 20 deletions

View File

@@ -62,7 +62,8 @@ std::string heap_stackstring_to_narrow(const std::wstring& s)
return ss.get();
}
void test_main(int, char**, char**) // coverity [root_function]
// coverity [root_function]
void test_main(int, char**, char**)
{
std::string hello = "\xd7\xa9\xd7\x9c\xd7\x95\xd7\x9d";
std::wstring whello = boost::nowide::widen(hello);