summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 19:38:38 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:52:29 +0100
commit2146f229086ffe26888d74fffd4bd441bfdaecbe (patch)
treef8641817c04d32a298c4f0bc6d6197e8935a2c61
parentb512f9a27b3538fdde7999ee5d3f40a480b0d361 (diff)
downloadpatchage-2146f229086ffe26888d74fffd4bd441bfdaecbe.tar.gz
patchage-2146f229086ffe26888d74fffd4bd441bfdaecbe.tar.bz2
patchage-2146f229086ffe26888d74fffd4bd441bfdaecbe.zip
Add missing namespace qualification
-rw-r--r--src/Patchage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 1703d8b..fb269d5 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -720,7 +720,7 @@ Patchage::save_session(bool close)
for (int c = 0; cmd[c].uuid; ++c) {
std::string command = cmd[c].command;
const size_t index = command.find(var);
- if (index != string::npos) {
+ if (index != std::string::npos) {
command.replace(index, var.length(), cmd[c].client_name);
}