Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix ReadOptions
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 22 Feb 2016 11:30:13 +0000 (12:30 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 22 Feb 2016 11:30:13 +0000 (12:30 +0100)
src/mc/AddressSpace.hpp

index 159642f..7c75d44 100644 (file)
@@ -145,7 +145,7 @@ public:
   constexpr ReadOptions() : value_(0) {}
 
   constexpr operator bool() const { return value_ != 0; }
-  constexpr operator!() const { return value_ == 0; }
+  constexpr bool operator!() const { return value_ == 0; }
 
   constexpr ReadOptions operator|(ReadOptions const& that) const
   {