From 77451f10565a622e1ca7f3d39937aae40ec9331d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 15 Aug 2016 15:35:04 +0200 Subject: compat/options: anon namespace classes are usable so move to detail --- compat/options.cpp | 4 ++-- compat/options.hpp | 2 +- 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"); QMetaType::registerDebugStreamOperator(); } -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(); -- cgit v1.2.3