summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorHonkazel <169346573+Honkazel@users.noreply.github.com>2025-01-30 16:07:06 +0500
committerGitHub <noreply@github.com>2025-01-30 11:07:06 +0000
commit7d1c78f4a3720b693fedeb5d4f2d3f4da37f7fd3 (patch)
treed6572c99ecdb29ac0564ac7e887235bdfa654757 /src/config
parentd462cc7fa166e1e6a6f14b58a2dd1e8b92e15426 (diff)
core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)
* declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigDataValues.hpp2
-rw-r--r--src/config/ConfigManager.cpp4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/config/ConfigDataValues.hpp b/src/config/ConfigDataValues.hpp
index 80e45a05..901fb317 100644
--- a/src/config/ConfigDataValues.hpp
+++ b/src/config/ConfigDataValues.hpp
@@ -11,7 +11,7 @@ enum eConfigValueDataTypes : int8_t {
class ICustomConfigValueData {
public:
- virtual ~ICustomConfigValueData() = 0;
+ virtual ~ICustomConfigValueData() = default;
virtual eConfigValueDataTypes getDataType() = 0;
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 047c58d9..86581b10 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -1709,10 +1709,6 @@ void CConfigManager::handlePluginLoads() {
}
}
-ICustomConfigValueData::~ICustomConfigValueData() {
- ; // empty
-}
-
const std::unordered_map<std::string, SP<SAnimationPropertyConfig>>& CConfigManager::getAnimationConfig() {
return m_AnimationTree.getFullConfig();
}