mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
[xswiftbus] Protected destructor to avoid GCC/Clang warning
This commit is contained in:
committed by
Mat Sutcliffe
parent
081e663997
commit
60ba3ca67f
@@ -45,6 +45,10 @@ namespace XSwiftBus
|
||||
//! Get settings from xswiftbus.conf (needed during plugin initialization)
|
||||
virtual const CConfig &getConfig() const = 0;
|
||||
|
||||
protected:
|
||||
//! Destructor
|
||||
~CSettingsProvider() = default;
|
||||
|
||||
private:
|
||||
mutable std::mutex m_settingsMutex;
|
||||
CSettings m_pluginSettings; //!< owner of the settings
|
||||
|
||||
Reference in New Issue
Block a user