From a05d6ac2a2a97081c6e9af1f9c8137fd91e739b6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Aug 2015 11:24:15 +0200 Subject: 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. --- o3tl/qa/test-typed_flags.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'o3tl') 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 { -- cgit