summaryrefslogtreecommitdiffstats
path: root/src/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r--src/Parser.cpp2
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