diff --git a/source/RobotAPI/components/ArViz/Client/Client.h b/source/RobotAPI/components/ArViz/Client/Client.h index 68e086ac52123dc5e6405c640cb35717c42f2a24..5500e774720824ad5aa72de8c76ab3f3db25d7de 100644 --- a/source/RobotAPI/components/ArViz/Client/Client.h +++ b/source/RobotAPI/components/ArViz/Client/Client.h @@ -319,7 +319,9 @@ namespace viz void commit(Layer const& layer) { - commit({layer}); + std::vector<Layer> layers; + layers.push_back(layer); + commit(layers); } void commit(std::vector<Layer> const& layers);