X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0ed6811d03131627a803f86b0a6a47796374e442..815f4c169d003b97c4244afa64da03f937fed670:/src/mc/mc_hash.cpp diff --git a/src/mc/mc_hash.cpp b/src/mc/mc_hash.cpp index 626927fe96..71f8fe80ad 100644 --- a/src/mc/mc_hash.cpp +++ b/src/mc/mc_hash.cpp @@ -29,7 +29,7 @@ public: template void update(T& x) { - state_ = (state_ << 5) + state_ + state_; + state_ = (state_ << 5) + state_ + x; } hash_type value() {