A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make expression clear.
[simgrid.git]
/
src
/
mc
/
mc_hash.cpp
diff --git
a/src/mc/mc_hash.cpp
b/src/mc/mc_hash.cpp
index 7ae53cbba31d404c6110da46cbae278c17df3677..7b86d7f724ebc4cc64a93a2b840d8ecca9a44103 100644
(file)
--- a/
src/mc/mc_hash.cpp
+++ b/
src/mc/mc_hash.cpp
@@
-30,10
+30,7
@@
public:
{
state_ = (state_ << 5) + state_ + x;
}
- hash_type value()
- {
- return state_;
- }
+ hash_type value() const { return state_; }
};
}