summaryrefslogtreecommitdiff
path: root/src/configuration_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-28 20:06:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-28 23:02:16 +0300
commit15919532c723ca0186b0c0c932cd1b90c7d2e570 (patch)
tree249673c7f5f06b2741826e12d7f69a9de379a52d /src/configuration_unittest.cc
parent515323530ba1b93c8d5ba00b015bf55aa0ecb01c (diff)
downloadplus-15919532c723ca0186b0c0c932cd1b90c7d2e570.tar.gz
plus-15919532c723ca0186b0c0c932cd1b90c7d2e570.tar.bz2
plus-15919532c723ca0186b0c0c932cd1b90c7d2e570.tar.xz
plus-15919532c723ca0186b0c0c932cd1b90c7d2e570.zip
Fix code style.
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