summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-15 15:35:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-16 00:03:42 +0200
commit77451f10565a622e1ca7f3d39937aae40ec9331d (patch)
tree142f91af291a42aab6a0964d05e691a941523795 /compat
parentd8ac24ac7bdc75ad829d6c23e46ce41bc353037c (diff)
compat/options: anon namespace classes are usable so move to detail
Diffstat (limited to 'compat')
-rw-r--r--compat/options.cpp4
-rw-r--r--compat/options.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/compat/options.cpp b/compat/options.cpp
index 32471870..33c1cf0d 100644
--- a/compat/options.cpp
+++ b/compat/options.cpp
@@ -174,13 +174,13 @@ opts::opts(const QString &name) : b(bundle(name))
{
}
-custom_type_initializer::custom_type_initializer()
+detail::custom_type_initializer::custom_type_initializer()
{
qRegisterMetaTypeStreamOperators<slider_value>("slider_value");
QMetaType::registerDebugStreamOperator<slider_value>();
}
-custom_type_initializer custom_type_initializer::singleton;
+detail::custom_type_initializer detail::custom_type_initializer::singleton;
namespace detail {
diff --git a/compat/options.hpp b/compat/options.hpp
index 815b4e2a..7b004ba6 100644
--- a/compat/options.hpp
+++ b/compat/options.hpp
@@ -50,7 +50,7 @@
#define OPENTRACK_ORG "opentrack-2.3"
namespace options {
-namespace {
+namespace detail {
class custom_type_initializer
{
custom_type_initializer();