Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
help mc initialize smpi options.
[simgrid.git] / src / mc / compare.cpp
index 6416733ec9042141eaa15c84254d5aec0113adfd..f5c1a62c74c8da5702c72600643d88cd523af56e 100644 (file)
@@ -26,7 +26,7 @@ public:
   int fragment_ = 0;
 
   HeapLocation() = default;
-  HeapLocation(int block, int fragment = 0) : block_(block), fragment_(fragment) {}
+  explicit HeapLocation(int block, int fragment = 0) : block_(block), fragment_(fragment) {}
 
   bool operator==(HeapLocation const& that) const
   {