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
Add some const qualifier, needed for later changes.
[simgrid.git]
/
src
/
kernel
/
activity
/
ExecImpl.cpp
diff --git
a/src/kernel/activity/ExecImpl.cpp
b/src/kernel/activity/ExecImpl.cpp
index
bffe2f5
..
462eb70
100644
(file)
--- a/
src/kernel/activity/ExecImpl.cpp
+++ b/
src/kernel/activity/ExecImpl.cpp
@@
-117,7
+117,7
@@
void ExecImpl::cancel()
surf_action_->cancel();
}
-double ExecImpl::get_remaining()
+double ExecImpl::get_remaining()
const
{
return surf_action_ ? surf_action_->get_remains() : 0;
}