diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-22 15:23:50 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-07-15 23:40:19 +0000 |
commit | e51fa143587d018b75db08e60cf27ff932b1cf8d (patch) | |
tree | efef96fb683eca20cd9eb65a8794264784efc950 /o3tl | |
parent | e1b123896d5b0a96c2959b6b6768c7cffabafd4f (diff) |
create a macro to tidy up the declaration sites of o3tl::typed_flags_set
Change-Id: Ifb8fd4fd5128188420f1dfda6b6f695160d5e77a
Reviewed-on: https://gerrit.libreoffice.org/15865
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'o3tl')
-rw-r--r-- | o3tl/qa/test-typed_flags.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/o3tl/qa/test-typed_flags.cxx b/o3tl/qa/test-typed_flags.cxx index d2a4154fd71b..c8bc27b499e4 100644 --- a/o3tl/qa/test-typed_flags.cxx +++ b/o3tl/qa/test-typed_flags.cxx @@ -18,10 +18,7 @@ using namespace ::o3tl; enum class ConfigurationChangedHint { NONE, ONE, TWO }; -namespace o3tl -{ - template<> struct typed_flags< ConfigurationChangedHint> : is_typed_flags< ConfigurationChangedHint, 0xFF> {}; -} +DECLARE_TYPED_FLAGS(ConfigurationChangedHint, 0xff) class typed_flags_test : public CppUnit::TestFixture { |