From 31d902d3c00fdc5f088aff433b7ebf308a718339 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 7 Nov 2014 12:30:39 +0200 Subject: fdo#84938: replace MOUSE_ modifier constants with enum and make the two categories of constants non-overlapping, we really don't need to risk confusion in order to save 6 bits in a data structure like this. Change-Id: I2251195d8e45ed04e2a89e47ae9c3e52cf0475c0 --- o3tl/qa/test-typed_flags.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'o3tl') diff --git a/o3tl/qa/test-typed_flags.cxx b/o3tl/qa/test-typed_flags.cxx index 3fe327e55b9e..d2a4154fd71b 100644 --- a/o3tl/qa/test-typed_flags.cxx +++ b/o3tl/qa/test-typed_flags.cxx @@ -47,8 +47,6 @@ public: nHint &= ConfigurationChangedHint::ONE; CPPUNIT_ASSERT( bool(nHint &= ConfigurationChangedHint::ONE) ); - ConfigurationChangedHint nHint2 = nHint & ~(ConfigurationChangedHint::ONE | ConfigurationChangedHint::TWO); - } // Change the following lines only, if you add, remove or rename -- cgit