Skip to content
Snippets Groups Projects
Commit 763b50e5 authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

[Test] Fixed a compilation warning

parent fa6f42b4
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,9 @@ public:
for (auto& p : test_pnts)
{
points.push_back(new GeoLib::Point(p));
pnt_name_id_map["p" + std::to_string(pos)] = pos;
cpy_name_id_map["p" + std::to_string(pos)] = pos;
std::string const position_name = 'p' + std::to_string(pos);
pnt_name_id_map[position_name] = pos;
cpy_name_id_map[position_name] = pos;
pos++;
}
......
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