diff --git a/source/RobotAPI/components/ArViz/Client/ScopedClient.cpp b/source/RobotAPI/components/ArViz/Client/ScopedClient.cpp index 35e8b55c939e4b3af5b1ce3f77b9defa3df73872..2e968ca7dd19298ac9eff6080370edb73a5138ca 100644 --- a/source/RobotAPI/components/ArViz/Client/ScopedClient.cpp +++ b/source/RobotAPI/components/ArViz/Client/ScopedClient.cpp @@ -25,8 +25,6 @@ namespace armarx::viz { - ScopedClient::ScopedClient(const Client& client) : Client(client) {} - Layer ScopedClient::layer(std::string const& name) const { layers.insert(name); diff --git a/source/RobotAPI/components/ArViz/Client/ScopedClient.h b/source/RobotAPI/components/ArViz/Client/ScopedClient.h index e4ee717925c734f533eb8b8f23595e3b67c51c80..a6c52c3f2fc5325bff0b9caffa64e9cba47333fd 100644 --- a/source/RobotAPI/components/ArViz/Client/ScopedClient.h +++ b/source/RobotAPI/components/ArViz/Client/ScopedClient.h @@ -32,7 +32,7 @@ namespace armarx::viz class ScopedClient: virtual public Client { public: - ScopedClient(const Client& client); + using Client::Client; Layer layer(std::string const& name) const override;