diff options
author | David Robillard <d@drobilla.net> | 2011-01-09 20:59:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-09 20:59:40 +0000 |
commit | c1775fa65273b5f5590a0319563159b13e901fbb (patch) | |
tree | e6704c3948b2b6204eec93621d71ceeb50ee1dfd /src/AlsaDriver.cpp | |
parent | 9a1cd7003886f89e2228d74d61130dc5d24c06a3 (diff) | |
download | patchage-c1775fa65273b5f5590a0319563159b13e901fbb.tar.gz patchage-c1775fa65273b5f5590a0319563159b13e901fbb.tar.bz2 patchage-c1775fa65273b5f5590a0319563159b13e901fbb.zip |
Code cleanups (cpplint).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index c1928f5..6cb51ae 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -28,8 +28,8 @@ #include "PatchageModule.hpp" #include "PatchagePort.hpp" -using namespace std; -using namespace FlowCanvas; +using std::endl; +using std::string; AlsaDriver::AlsaDriver(Patchage* app) : _app(app) @@ -296,7 +296,7 @@ AlsaDriver::refresh_ports() boost::shared_ptr<PatchageModule> parent; boost::shared_ptr<PatchagePort> port; - set< boost::shared_ptr<PatchageModule> > to_resize; + std::set< boost::shared_ptr<PatchageModule> > to_resize; while (snd_seq_query_next_client (_seq, cinfo) >= 0) { snd_seq_port_info_set_client(pinfo, snd_seq_client_info_get_client(cinfo)); @@ -324,11 +324,11 @@ AlsaDriver::refresh_connections() boost::shared_ptr<PatchageModule> m; boost::shared_ptr<PatchagePort> p; - for (ItemList::iterator i = _app->canvas()->items().begin(); + for (FlowCanvas::ItemList::iterator i = _app->canvas()->items().begin(); i != _app->canvas()->items().end(); ++i) { m = boost::dynamic_pointer_cast<PatchageModule>(*i); if (m) { - for (PortVector::const_iterator j = m->ports().begin(); j != m->ports().end(); ++j) { + for (FlowCanvas::PortVector::const_iterator j = m->ports().begin(); j != m->ports().end(); ++j) { p = boost::dynamic_pointer_cast<PatchagePort>(*j); if (p->type() == ALSA_MIDI) add_connections(p); |