summaryrefslogtreecommitdiffstats
path: root/src/runtime_paths.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/runtime_paths.cpp
parent15b3b0e9f8823752f80c7e597a70749813e61c79 (diff)
downloadingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.gz
ingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.bz2
ingen-71808f61f7db48a7ab4e16537b94ee5686749909.zip
Remove superfluous using namespace declarations
Diffstat (limited to 'src/runtime_paths.cpp')
-rw-r--r--src/runtime_paths.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/runtime_paths.cpp b/src/runtime_paths.cpp
index a51b583a..aeb86433 100644
--- a/src/runtime_paths.cpp
+++ b/src/runtime_paths.cpp
@@ -28,8 +28,6 @@
#include "ingen_config.h"
-using namespace std;
-
namespace Ingen {
static std::string bundle_path;
@@ -51,7 +49,7 @@ set_bundle_path_from_code(void* function)
const char* bin_loc = dli.dli_fname;
#endif
- string bundle = bin_loc;
+ std::string bundle = bin_loc;
bundle = bundle.substr(0, bundle.find_last_of(G_DIR_SEPARATOR));
bundle_path = bundle;
}
@@ -96,7 +94,7 @@ module_path(const std::string& name, std::string dir)
#endif
}
- ret = Glib::Module::build_path(dir, string("ingen_") + name);
+ ret = Glib::Module::build_path(dir, std::string("ingen_") + name);
#ifdef __APPLE__
// MacPorts glib doesnt seem to do portable path building correctly...