Fix examples in the tutorial

Remove sdbus:: namespace in injected-class-name of the template base class in c-tor initialization list
This commit is contained in:
Stanislav Angelovič
2021-03-10 09:49:25 +01:00
committed by GitHub
parent 96b2dfff69
commit a9f2043daa

View File

@ -688,7 +688,7 @@ class Concatenator : public sdbus::AdaptorInterfaces<org::sdbuscpp::Concatenator
{ {
public: public:
Concatenator(sdbus::IConnection& connection, std::string objectPath) Concatenator(sdbus::IConnection& connection, std::string objectPath)
: sdbus::AdaptorInterfaces(connection, std::move(objectPath)) : AdaptorInterfaces(connection, std::move(objectPath))
{ {
registerAdaptor(); registerAdaptor();
} }
@ -765,7 +765,7 @@ class ConcatenatorProxy : public sdbus::ProxyInterfaces<org::sdbuscpp::Concatena
{ {
public: public:
ConcatenatorProxy(std::string destination, std::string objectPath) ConcatenatorProxy(std::string destination, std::string objectPath)
: sdbus::ProxyInterfaces(std::move(destination), std::move(objectPath)) : ProxyInterfaces(std::move(destination), std::move(objectPath))
{ {
registerProxy(); registerProxy();
} }