diff --git a/src/lib/server/PrimaryClient.cpp b/src/lib/server/PrimaryClient.cpp index 727b09bea..4e6c18919 100644 --- a/src/lib/server/PrimaryClient.cpp +++ b/src/lib/server/PrimaryClient.cpp @@ -26,11 +26,6 @@ PrimaryClient::PrimaryClient(const std::string &name, deskflow::Screen *screen) } } -PrimaryClient::~PrimaryClient() -{ - // do nothing -} - void PrimaryClient::reconfigure(uint32_t activeSides) { m_screen->reconfigure(activeSides); diff --git a/src/lib/server/PrimaryClient.h b/src/lib/server/PrimaryClient.h index 010da4fac..1c39fc59e 100644 --- a/src/lib/server/PrimaryClient.h +++ b/src/lib/server/PrimaryClient.h @@ -27,7 +27,7 @@ public: \c name is the name of the server and \p screen is primary screen. */ PrimaryClient(const std::string &name, deskflow::Screen *screen); - ~PrimaryClient() override; + ~PrimaryClient() override = default; #ifdef TEST_ENV PrimaryClient() : BaseClientProxy("")