diff options
| author | Tyge Løvset <[email protected]> | 2022-04-18 00:44:51 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-18 00:44:51 +0200 |
| commit | 00804d9ff488f63468a0bb528c7b807aea7c3ea3 (patch) | |
| tree | 51b47787adc853bd1a10ec820a6ef5c184fa2498 /examples/unordered_set.c | |
| parent | 4436a1c0ac37dc2e73a2134d5ad85c010340b35d (diff) | |
| download | STC-modified-00804d9ff488f63468a0bb528c7b807aea7c3ea3.tar.gz STC-modified-00804d9ff488f63468a0bb528c7b807aea7c3ea3.zip | |
Converted all example to use cstr_str(&s) instead of s.str to allow SSO string. Fixed misc warnings.
Diffstat (limited to 'examples/unordered_set.c')
| -rw-r--r-- | examples/unordered_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/unordered_set.c b/examples/unordered_set.c index f4e37cf8..2decb88c 100644 --- a/examples/unordered_set.c +++ b/examples/unordered_set.c @@ -36,6 +36,6 @@ int main() // content
printf("All elements :\n");
c_foreach (itr, cset_str, stringSet)
- printf("%s\n", itr.ref->str);
+ printf("%s\n", cstr_str(itr.ref));
}
}
|
