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
Remove usage of xbt_dict_size().
[simgrid.git]
/
src
/
xbt
/
dict.c
diff --git
a/src/xbt/dict.c
b/src/xbt/dict.c
index
83e73b5
..
c58f0c0
100644
(file)
--- a/
src/xbt/dict.c
+++ b/
src/xbt/dict.c
@@
-658,7
+658,7
@@
void xbt_dict_dump_output_string(void *s)
*/
XBT_INLINE int xbt_dict_is_empty(xbt_dict_t dict)
{
- return
(xbt_dict_size
(dict) == 0);
+ return
!dict || (xbt_dict_length
(dict) == 0);
}
/**