X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3def2297f6cb436bc6cc26e04a3ac453fdaf3b9e..a49a03122b2def71ff741e78d15b38cd1d171184:/src/mc/remote/RemotePtr.hpp diff --git a/src/mc/remote/RemotePtr.hpp b/src/mc/remote/RemotePtr.hpp index 88effca9f9..951b60c7c1 100644 --- a/src/mc/remote/RemotePtr.hpp +++ b/src/mc/remote/RemotePtr.hpp @@ -89,7 +89,7 @@ public: T* local() const { return (T*)address_; } operator bool() const { return address_; } - bool operator!() const { return !address_; } + bool operator!() const { return not address_; } operator RemotePtr() const { return RemotePtr(address_); } RemotePtr operator+(std::uint64_t n) const { return RemotePtr(address_ + n * sizeof(T)); } RemotePtr operator-(std::uint64_t n) const { return RemotePtr(address_ - n * sizeof(T)); }