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
sonar fixes and little cleanups
[simgrid.git]
/
src
/
kernel
/
activity
/
SemaphoreImpl.hpp
diff --git
a/src/kernel/activity/SemaphoreImpl.hpp
b/src/kernel/activity/SemaphoreImpl.hpp
index
a6a1613
..
b817599
100644
(file)
--- a/
src/kernel/activity/SemaphoreImpl.hpp
+++ b/
src/kernel/activity/SemaphoreImpl.hpp
@@
-82,8
+82,7
@@
public:
delete sem;
}
}
- unsigned get_id() { return id_; }
-
+ unsigned get_id() const { return id_; }
s4u::Semaphore& sem() { return piface_; }
};
} // namespace activity