Port the examples to rename _get_at to _safe_get

This commit is contained in:
Patrick Pelissier committed 2021-10-30 00:17:15 +02:00
1 parent 51d4e930f5
commit c96cea5a13
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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: