Commit b28d5acf authored by Carsten Gräser's avatar Carsten Gräser

Merge branch 'feature/fix-bitsetvectortest-libc++' into 'master'

Fix compilation of bitsetvectortest with libc++

The new version tests that a BitSetVectorConstReference can be converted
to a bitset, which makes sense.

The old version tested if a std::vector<bool>::const_reference could be
converted to a bitset, which should not be assumed or tested, even
though it works with libstdc++, apparently

See also #18.

See merge request !59
parents d863ce8f 355b813e
......@@ -20,7 +20,7 @@ struct ConstReferenceOp
typedef typename BBF::const_reference const_reference;
void operator()(const_reference t){
DUNE_UNUSED bitset x = t[0];
DUNE_UNUSED bitset x = t;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment