diff options
author | David Robillard <d@drobilla.net> | 2020-12-16 11:05:13 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-16 11:06:32 +0100 |
commit | 59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7 (patch) | |
tree | 3a2b450e745a2e28efc6b06733dd445287e368dd /sord | |
parent | 49b12d0005e2028d15cce24484c9718f18169f74 (diff) | |
download | sord-59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7.tar.gz sord-59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7.tar.bz2 sord-59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7.zip |
C++: Use faster std::string::find overload
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sordmm.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index a91ebc2..80bfd62 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -111,7 +111,7 @@ public: } inline std::string expand(const std::string& curie) const { - assert(curie.find(":") != std::string::npos); + assert(curie.find(':') != std::string::npos); SerdNode curie_node = string_to_node(SERD_CURIE, curie); SerdChunk uri_prefix; SerdChunk uri_suffix; |