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
convert getCname to get_cname
[simgrid.git]
/
include
/
simgrid
/
kernel
/
resource
/
Resource.hpp
diff --git
a/include/simgrid/kernel/resource/Resource.hpp
b/include/simgrid/kernel/resource/Resource.hpp
index
7c8c075
..
ee037cd
100644
(file)
--- a/
include/simgrid/kernel/resource/Resource.hpp
+++ b/
include/simgrid/kernel/resource/Resource.hpp
@@
-38,9
+38,9
@@
public:
Model* model() const;
/** @brief Get the name of the current Resource */
Model* model() const;
/** @brief Get the name of the current Resource */
- const std::string& get
N
ame() const;
+ const std::string& get
_n
ame() const;
/** @brief Get the name of the current Resource */
/** @brief Get the name of the current Resource */
- const char* get
C
name() const;
+ const char* get
_c
name() const;
bool operator==(const Resource& other) const;
bool operator==(const Resource& other) const;
@@
-95,7
+95,7
@@
template <> class hash<simgrid::kernel::resource::Resource> {
public:
std::size_t operator()(const simgrid::kernel::resource::Resource& r) const
{
public:
std::size_t operator()(const simgrid::kernel::resource::Resource& r) const
{
- return (std::size_t)xbt_str_hash(r.get
C
name());
+ return (std::size_t)xbt_str_hash(r.get
_c
name());
}
};
} // namespace std
}
};
} // namespace std