Port the examples to rename _get_at to _safe_get
This commit is contained in:
1 parent
51d4e930f5
commit
c96cea5a13
3 files changed
+4
-4
No files matched your search
@@ -28,7 +28,7 @@ int main(void)
|
||||
M_LET(map, dict_str_t) {
|
||||
// Count the words:
|
||||
for M_EACH(w, words, vector_str_t) {
|
||||
(*dict_str_get_at(map, *w)) ++;
|
||||
(*dict_str_safe_get(map, *w)) ++;
|
||||
}
|
||||
|
||||
// Print the count:
|
||||
|
||||
Reference in new issue
Block a user