summaryrefslogtreecommitdiffstats
path: root/src/server/JackDriver.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/JackDriver.cpp
parent15b3b0e9f8823752f80c7e597a70749813e61c79 (diff)
downloadingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.gz
ingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.bz2
ingen-71808f61f7db48a7ab4e16537b94ee5686749909.zip
Remove superfluous using namespace declarations
Diffstat (limited to 'src/server/JackDriver.cpp')
-rw-r--r--src/server/JackDriver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp
index a4ae8e7b..433ca758 100644
--- a/src/server/JackDriver.cpp
+++ b/src/server/JackDriver.cpp
@@ -46,8 +46,6 @@
#include "ThreadManager.hpp"
#include "util.hpp"
-using namespace std;
-
typedef jack_default_audio_sample_t jack_sample_t;
namespace Ingen {
@@ -539,16 +537,18 @@ JackDriver::_session_cb(jack_session_event_t* event)
{
_engine.log().info(fmt("Jack session save to %1%\n") % event->session_dir);
- const string cmd = (boost::format("ingen -eg -n %1% -u %2% -l ${SESSION_DIR}")
- % jack_get_client_name(_client)
- % event->client_uuid).str();
+ const std::string cmd = (
+ boost::format("ingen -eg -n %1% -u %2% -l ${SESSION_DIR}")
+ % jack_get_client_name(_client)
+ % event->client_uuid).str();
SPtr<Serialiser> serialiser = _engine.world()->serialiser();
if (serialiser) {
std::lock_guard<std::mutex> lock(_engine.world()->rdf_mutex());
SPtr<Node> root(_engine.root_graph(), NullDeleter<Node>);
- serialiser->write_bundle(root, string("file://") + event->session_dir);
+ serialiser->write_bundle(root,
+ std::string("file://") + event->session_dir);
}
event->command_line = (char*)malloc(cmd.size() + 1);