From 71808f61f7db48a7ab4e16537b94ee5686749909 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 16:05:05 -0500 Subject: Remove superfluous using namespace declarations --- src/server/LV2Plugin.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/server/LV2Plugin.cpp') 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); -- cgit v1.2.1