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
please my old friend SonarQube now that it's back
[simgrid.git]
/
src
/
mc
/
VisitedState.cpp
diff --git
a/src/mc/VisitedState.cpp
b/src/mc/VisitedState.cpp
index
3aa0e5f
..
5d547bf
100644
(file)
--- a/
src/mc/VisitedState.cpp
+++ b/
src/mc/VisitedState.cpp
@@
-118,7
+118,7
@@
std::unique_ptr<simgrid::mc::VisitedState> VisitedStates::addVisitedState(
old_state->num, new_state->num);
visited_state = std::move(new_state);
- return
std::move(old_state)
;
+ return
old_state
;
}
}
@@
-129,4
+129,4
@@
std::unique_ptr<simgrid::mc::VisitedState> VisitedStates::addVisitedState(
}
}
-}
\ No newline at end of file
+}