summaryrefslogtreecommitdiff
path: root/src/configuration_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration_unittest.cc')
-rw-r--r--src/configuration_unittest.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/configuration_unittest.cc b/src/configuration_unittest.cc
index 66b454cd8..2e61c0669 100644
--- a/src/configuration_unittest.cc
+++ b/src/configuration_unittest.cc
@@ -36,11 +36,12 @@ namespace
class TestConfigListener : public ConfigListener
{
- void optionChanged(const std::string &name) override final
- {
- if (name == "testkey123")
- mCalled ++;
- }
+ public:
+ void optionChanged(const std::string &name) override final
+ {
+ if (name == "testkey123")
+ mCalled ++;
+ }
} testListener;
} // namespace