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
[SURF] NULL -> nullptr substitution
[simgrid.git]
/
src
/
surf
/
PropertyHolder.cpp
diff --git
a/src/surf/PropertyHolder.cpp
b/src/surf/PropertyHolder.cpp
index
97331c6
..
b57e536
100644
(file)
--- a/
src/surf/PropertyHolder.cpp
+++ b/
src/surf/PropertyHolder.cpp
@@
-18,10
+18,10
@@
PropertyHolder::~PropertyHolder() {
xbt_dict_free(&properties_);
}
xbt_dict_free(&properties_);
}
-/** @brief Return the property associated to the provided key (or
NULL
if not existing) */
+/** @brief Return the property associated to the provided key (or
nullptr
if not existing) */
const char *PropertyHolder::getProperty(const char*key) {
const char *PropertyHolder::getProperty(const char*key) {
- if (properties_ ==
NULL
)
- return
NULL
;
+ if (properties_ ==
nullptr
)
+ return
nullptr
;
return (const char*) xbt_dict_get_or_null(properties_,key);
}
return (const char*) xbt_dict_get_or_null(properties_,key);
}