diff --git a/tests/perftests/client.cpp b/tests/perftests/client.cpp index 3fe16a5..b621f4f 100644 --- a/tests/perftests/client.cpp +++ b/tests/perftests/client.cpp @@ -39,7 +39,7 @@ using namespace std::chrono_literals; uint64_t totalDuration = 0; -class PerftestProxy : public sdbus::ProxyInterfaces +class PerftestProxy final : public sdbus::ProxyInterfaces { public: PerftestProxy(std::string destination, std::string objectPath) diff --git a/tests/perftests/server.cpp b/tests/perftests/server.cpp index 0af4e44..7f8abf8 100644 --- a/tests/perftests/server.cpp +++ b/tests/perftests/server.cpp @@ -36,7 +36,7 @@ using namespace std::chrono_literals; std::string createRandomString(size_t length); -class PerftestAdaptor : public sdbus::AdaptorInterfaces +class PerftestAdaptor final : public sdbus::AdaptorInterfaces { public: PerftestAdaptor(sdbus::IConnection& connection, std::string objectPath) diff --git a/tests/stresstests/sdbus-c++-stress-tests.cpp b/tests/stresstests/sdbus-c++-stress-tests.cpp index 6621edf..773ed42 100644 --- a/tests/stresstests/sdbus-c++-stress-tests.cpp +++ b/tests/stresstests/sdbus-c++-stress-tests.cpp @@ -53,7 +53,7 @@ using namespace std::string_literals; #define FAHRENHEIT_THERMOMETER_OBJECT_PATH "/org/sdbuscpp/stresstests/fahrenheit/thermometer"s #define CONCATENATOR_OBJECT_PATH "/org/sdbuscpp/stresstests/concatenator"s -class CelsiusThermometerAdaptor : public sdbus::AdaptorInterfaces +class CelsiusThermometerAdaptor final : public sdbus::AdaptorInterfaces { public: CelsiusThermometerAdaptor(sdbus::IConnection& connection, std::string objectPath) @@ -92,8 +92,8 @@ public: } }; -class FahrenheitThermometerAdaptor : public sdbus::AdaptorInterfaces< org::sdbuscpp::stresstests::fahrenheit::thermometer_adaptor - , org::sdbuscpp::stresstests::fahrenheit::thermometer::factory_adaptor > +class FahrenheitThermometerAdaptor final : public sdbus::AdaptorInterfaces< org::sdbuscpp::stresstests::fahrenheit::thermometer_adaptor + , org::sdbuscpp::stresstests::fahrenheit::thermometer::factory_adaptor > { public: FahrenheitThermometerAdaptor(sdbus::IConnection& connection, std::string objectPath, bool isDelegate) @@ -222,7 +222,7 @@ public: } }; -class ConcatenatorAdaptor : public sdbus::AdaptorInterfaces +class ConcatenatorAdaptor final : public sdbus::AdaptorInterfaces { public: ConcatenatorAdaptor(sdbus::IConnection& connection, std::string objectPath) @@ -294,7 +294,7 @@ private: std::atomic exit_{}; }; -class ConcatenatorProxy : public sdbus::ProxyInterfaces +class ConcatenatorProxy final : public sdbus::ProxyInterfaces { public: ConcatenatorProxy(sdbus::IConnection& connection, std::string destination, std::string objectPath)