diff options
| author | Tyge Løvset <[email protected]> | 2020-03-24 19:26:57 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-24 19:26:57 +0100 |
| commit | 17261b08b01ac56bfd19733f8ff55629a9738382 (patch) | |
| tree | 7c571dbf8559e4b35b1b20bfbbba480922faad7a /benchmark.cpp | |
| parent | 08312fe8bffa7c0fb59612a6fb6b6f463cae6d9b (diff) | |
| download | STC-modified-17261b08b01ac56bfd19733f8ff55629a9738382.tar.gz STC-modified-17261b08b01ac56bfd19733f8ff55629a9738382.zip | |
Add files via upload
Diffstat (limited to 'benchmark.cpp')
| -rw-r--r-- | benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark.cpp b/benchmark.cpp index 7ee5a4be..3e9c8896 100644 --- a/benchmark.cpp +++ b/benchmark.cpp @@ -114,7 +114,7 @@ int main() cvector_s_push(&names, cstring_make("Ruth"));
cvector_s_push(&names, cstring_make("Burt"));
- size_t res = cvector_s_find(names, cstring_temp("Ruth"));
+ size_t res = cvector_s_find(names, "Ruth");
printf("found %llu\n", res);
cvector_s_sort(&names);
|
