diff options
Diffstat (limited to 'src/server/LV2Plugin.cpp')
-rw-r--r-- | src/server/LV2Plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp index 1e88952e..ff571d0b 100644 --- a/src/server/LV2Plugin.cpp +++ b/src/server/LV2Plugin.cpp @@ -74,7 +74,7 @@ LV2Plugin::symbol() const working = working.substr(0, working.length() - 1); } - while (working.length() > 0) { + while (!working.empty()) { const size_t last_slash = working.find_last_of('/'); const std::string symbol = working.substr(last_slash+1); if ( (symbol[0] >= 'a' && symbol[0] <= 'z') |