summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 11:05:13 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 11:06:32 +0100
commit59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7 (patch)
tree3a2b450e745a2e28efc6b06733dd445287e368dd
parent49b12d0005e2028d15cce24484c9718f18169f74 (diff)
downloadsord-59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7.tar.gz
sord-59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7.tar.bz2
sord-59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7.zip
C++: Use faster std::string::find overload
-rw-r--r--sord/sordmm.hpp2
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;