Skip to content
Snippets Groups Projects
fixCppPoseApi.patch 783 B
Newer Older
Jerome Royan's avatar
Jerome Royan committed
--- PoseApi.cpp	2024-08-29 17:22:20.037445629 +0200
+++ PoseApi_corrected.cpp	2024-08-29 16:56:57.582073400 +0200
@@ -453,7 +453,7 @@
     std::vector<GetPoses_uuid_parameter_inner> uuid;
     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){ GetPoses_uuid_parameter_inner ret; ret.fromString(i); return ret;});
+    std::transform(uuid_temp.begin(), uuid_temp.end(), std::back_inserter(uuid), [](const auto& i){ GetPoses_uuid_parameter_inner ret; ret.setUuid(i); return ret;});
     // Getting the headers
     std::string token = request->get_header("token", "");
     std::string sessionID = request->get_header("sessionID", "");