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
Declare methods 'const'.
[simgrid.git]
/
src
/
kernel
/
activity
/
ActivityImpl.cpp
diff --git
a/src/kernel/activity/ActivityImpl.cpp
b/src/kernel/activity/ActivityImpl.cpp
index
cd4b557
..
b82915e
100644
(file)
--- a/
src/kernel/activity/ActivityImpl.cpp
+++ b/
src/kernel/activity/ActivityImpl.cpp
@@
-40,7
+40,7
@@
double ActivityImpl::get_remaining() const
return surf_action_ ? surf_action_->get_remains() : 0;
}
-const char* ActivityImpl::get_state_str()
+const char* ActivityImpl::get_state_str()
const
{
switch (state_) {
case State::WAITING: