Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Separate trace file production from container management
[simgrid.git] / src / mc / AddressSpace.hpp
index 8701fa2..c67ecb8 100644 (file)
@@ -21,6 +21,7 @@ namespace mc {
 class ReadOptions {
   std::uint32_t value_ = 0;
   constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {}
+
 public:
   constexpr ReadOptions() {}
 
@@ -56,7 +57,7 @@ public:
   }
   ReadOptions& operator^=(ReadOptions const& that)
   {
-    value_ &= that.value_;
+    value_ ^= that.value_;
     return *this;
   }
 
@@ -132,7 +133,6 @@ public:
     this->read_bytes(&res[0], len, address);
     return res;
   }
-
 };
 
 }