Fixes #8420 and some clang errors.

This commit is contained in:
Ion Gaztañaga
2014-02-24 08:29:31 +01:00
parent f1de12bfef
commit 51c9e874a8
4 changed files with 25 additions and 8 deletions
+4 -1
View File
@@ -35,7 +35,10 @@ class movable
{ value_ = m.value_; m.value_ = 0; return *this; }
bool moved() const //Observer
{ return value_ == 0; }
{ return !value_; }
int value() const //Observer
{ return value_; }
};
namespace boost{