diff options
Diffstat (limited to 'src/server/LV2Plugin.cpp')
-rw-r--r-- | src/server/LV2Plugin.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp index 4a4fd674..529e0e4e 100644 --- a/src/server/LV2Plugin.cpp +++ b/src/server/LV2Plugin.cpp @@ -25,8 +25,6 @@ #include "LV2Block.hpp" #include "LV2Plugin.hpp" -using namespace std; - namespace Ingen { namespace Server { @@ -68,14 +66,14 @@ LV2Plugin::update_properties() const Raul::Symbol LV2Plugin::symbol() const { - string working = uri(); + std::string working = uri(); if (working.back() == '/') { working = working.substr(0, working.length() - 1); } while (working.length() > 0) { size_t last_slash = working.find_last_of("/"); - const string symbol = working.substr(last_slash+1); + const std::string symbol = working.substr(last_slash+1); if ( (symbol[0] >= 'a' && symbol[0] <= 'z') || (symbol[0] >= 'A' && symbol[0] <= 'Z') ) { return Raul::Symbol::symbolify(symbol); |