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
SIMIX_mutex_{un}ref become MutexImpl::{un}ref
[simgrid.git]
/
src
/
kernel
/
activity
/
ActivityImpl.cpp
diff --git
a/src/kernel/activity/ActivityImpl.cpp
b/src/kernel/activity/ActivityImpl.cpp
index
a2cdff3
..
1cb313a
100644
(file)
--- a/
src/kernel/activity/ActivityImpl.cpp
+++ b/
src/kernel/activity/ActivityImpl.cpp
@@
-32,7
+32,7
@@
void ActivityImpl::resume()
void ActivityImpl::set_category(std::string category)
{
if (surf_action_)
- surf_action_->set_category(
category
);
+ surf_action_->set_category(
std::move(category)
);
}
// boost::intrusive_ptr<Activity> support: