From 17261b08b01ac56bfd19733f8ff55629a9738382 Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylo-work@users.noreply.github.com> Date: Tue, 24 Mar 2020 19:26:57 +0100 Subject: Add files via upload --- benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark.cpp') 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); -- cgit v1.2.3