diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 19:23:48 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | 3283bca45475a597686378f232b65d052422c6b8 (patch) | |
tree | fc29cb21214cb70900d020bfdc8783f35b399458 /src/Parser.cpp | |
parent | 14cd32a043552d39738ae0e84e4ef8ab93783296 (diff) | |
download | ingen-3283bca45475a597686378f232b65d052422c6b8.tar.gz ingen-3283bca45475a597686378f232b65d052422c6b8.tar.bz2 ingen-3283bca45475a597686378f232b65d052422c6b8.zip |
Cleanup: Use faster char overload of find_last_of()
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r-- | src/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp index c4661789..631d5cf4 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -181,7 +181,7 @@ get_port(ingen::World& world, sym = s->second.ptr<char>(); } else { const std::string subject_str = subject.to_string(); - const size_t last_slash = subject_str.find_last_of("/"); + const size_t last_slash = subject_str.find_last_of('/'); sym = ((last_slash == std::string::npos) ? subject_str |