summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-09 14:21:34 +0100
committerDavid Robillard <d@drobilla.net>2020-02-09 14:21:34 +0100
commit630e1c11cd84713a9d96b76eaa6b4561d4980141 (patch)
tree34481f3ace917469400c659d27c6ad1218a625f3 /src/PatchageCanvas.cpp
parent464f09037c2359dc83dd1575a9edc0e4db81236c (diff)
downloadpatchage-630e1c11cd84713a9d96b76eaa6b4561d4980141.tar.gz
patchage-630e1c11cd84713a9d96b76eaa6b4561d4980141.tar.bz2
patchage-630e1c11cd84713a9d96b76eaa6b4561d4980141.zip
Remove standard using declarations
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r--src/PatchageCanvas.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index 4b8d309..a51ea32 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -35,7 +35,6 @@
#include <boost/format.hpp>
-using std::string;
using boost::format;
PatchageCanvas::PatchageCanvas(Patchage* app, int width, int height)
@@ -51,7 +50,7 @@ PatchageCanvas::PatchageCanvas(Patchage* app, int width, int height)
}
PatchageModule*
-PatchageCanvas::find_module(const string& name, ModuleType type)
+PatchageCanvas::find_module(const std::string& name, ModuleType type)
{
const ModuleIndex::const_iterator i = _module_index.find(name);
if (i == _module_index.end())
@@ -71,7 +70,7 @@ PatchageCanvas::find_module(const string& name, ModuleType type)
}
void
-PatchageCanvas::remove_module(const string& name)
+PatchageCanvas::remove_module(const std::string& name)
{
ModuleIndex::iterator i = _module_index.find(name);
while (i != _module_index.end()) {
@@ -100,8 +99,8 @@ PatchageCanvas::find_port(const PortID& id)
if (!jack_port)
return NULL;
- string module_name;
- string port_name;
+ std::string module_name;
+ std::string port_name;
_app->jack_driver()->port_names(id, module_name, port_name);
PatchageModule* module = find_module(