summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Plugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-25 16:05:05 -0500
committerDavid Robillard <d@drobilla.net>2017-12-25 16:26:13 -0500
commit71808f61f7db48a7ab4e16537b94ee5686749909 (patch)
tree5529b7c60b2488ac9575ddcb597c905bde577399 /src/server/LV2Plugin.cpp
parent15b3b0e9f8823752f80c7e597a70749813e61c79 (diff)
downloadingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.gz
ingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.bz2
ingen-71808f61f7db48a7ab4e16537b94ee5686749909.zip
Remove superfluous using namespace declarations
Diffstat (limited to 'src/server/LV2Plugin.cpp')
-rw-r--r--src/server/LV2Plugin.cpp6
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);