summaryrefslogtreecommitdiff
path: root/o3tl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-25 11:24:15 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 08:26:51 +0200
commita05d6ac2a2a97081c6e9af1f9c8137fd91e739b6 (patch)
tree197658e9c09aadf8b48bf96cfe554b2afc435840 /o3tl
parent97bf7c6cc7c756109e75dc11641300e28e8b3d1f (diff)
Revert "create a macro to tidy up the declaration sites of o3tl::typed_flags_set"
sberg did not like this macro, let's see if I can find a better solution. This reverts commit e51fa143587d018b75db08e60cf27ff932b1cf8d.
Diffstat (limited to 'o3tl')
-rw-r--r--o3tl/qa/test-typed_flags.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/o3tl/qa/test-typed_flags.cxx b/o3tl/qa/test-typed_flags.cxx
index c8bc27b499e4..d2a4154fd71b 100644
--- a/o3tl/qa/test-typed_flags.cxx
+++ b/o3tl/qa/test-typed_flags.cxx
@@ -18,7 +18,10 @@ using namespace ::o3tl;
enum class ConfigurationChangedHint { NONE, ONE, TWO };
-DECLARE_TYPED_FLAGS(ConfigurationChangedHint, 0xff)
+namespace o3tl
+{
+ template<> struct typed_flags< ConfigurationChangedHint> : is_typed_flags< ConfigurationChangedHint, 0xFF> {};
+}
class typed_flags_test : public CppUnit::TestFixture
{