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: explict
[simgrid.git]
/
src
/
mc
/
ObjectInformation.hpp
diff --git
a/src/mc/ObjectInformation.hpp
b/src/mc/ObjectInformation.hpp
index
c59369b
..
e813af7
100644
(file)
--- a/
src/mc/ObjectInformation.hpp
+++ b/
src/mc/ObjectInformation.hpp
@@
-90,8
+90,7
@@
public:
*/
std::vector<FunctionIndexEntry> functions_index;
*/
std::vector<FunctionIndexEntry> functions_index;
- // TODO, remove the mutable (to remove it we'll have to add a lot of const everywhere)
- mutable std::vector<simgrid::mc::Variable> global_variables;
+ std::vector<simgrid::mc::Variable> global_variables;
/** Types indexed by DWARF ID */
std::unordered_map<std::uint64_t, simgrid::mc::Type> types;
/** Types indexed by DWARF ID */
std::unordered_map<std::uint64_t, simgrid::mc::Type> types;
@@
-142,7
+141,7
@@
public:
* @param name scopes name of the global variable (`myproject::Foo::count`)
* @return corresponding variable (if any) or nullptr
*/
* @param name scopes name of the global variable (`myproject::Foo::count`)
* @return corresponding variable (if any) or nullptr
*/
- simgrid::mc::Variable* find_variable(const char* name) const;
+
const
simgrid::mc::Variable* find_variable(const char* name) const;
/** Remove a global variable (in order to ignore it)
*
/** Remove a global variable (in order to ignore it)
*