Skip to content
Snippets Groups Projects
fixCppPoseApi.patch 736 B
Newer Older
--- PoseApi.cpp	2024-09-17 15:11:41.869045502 +0200
+++ PoseApi_corrected.cpp	2024-09-17 15:12:57.909058480 +0200
@@ -468,7 +468,7 @@
     std::vector<UuidAndMode> uuid;
Jerome Royan's avatar
Jerome Royan committed
     std::vector<std::string> uuid_temp;
     boost::split(uuid_temp, uuid_raw, boost::is_any_of(","));
-    std::transform(uuid_temp.begin(), uuid_temp.end(), std::back_inserter(uuid), [](const auto& i){ UuidAndMode ret; ret.fromString(i); return ret;});
+    std::transform(uuid_temp.begin(), uuid_temp.end(), std::back_inserter(uuid), [](const auto& i){ UuidAndMode ret; ret.fromJsonString(i); return ret;});
Jerome Royan's avatar
Jerome Royan committed
     // Getting the headers
     std::string token = request->get_header("token", "");
     std::string sessionID = request->get_header("sessionID", "");