Fix Flags<> api to be more consistent and add testcase.
authorMichael Andres <ma@suse.de>
Thu, 22 Dec 2011 12:13:06 +0000 (13:13 +0100)
committerMichael Andres <ma@suse.de>
Thu, 22 Dec 2011 12:13:06 +0000 (13:13 +0100)
commit4ee2c116adc0661726aaca2fca13bd015199cf60
treec603679c996556ebf7d364260afbc818a38d7c66
parent35d0a831bd440695446feaf9de3f3bfeb4779455
Fix Flags<> api to be more consistent and add testcase.

 - no implicit conversion from unsigned to Flags
 - allow Flags/Enum in all operations
tests/zypp/CMakeLists.txt
tests/zypp/Flags_test.cc [new file with mode: 0644]
zypp/base/Flags.h