diff options
Diffstat (limited to 'src/engine/JackDriver.cpp')
-rw-r--r-- | src/engine/JackDriver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp index fc2e5e59..e903586e 100644 --- a/src/engine/JackDriver.cpp +++ b/src/engine/JackDriver.cpp @@ -219,13 +219,13 @@ JackDriver::supports(Shared::PortType port_type, Shared::EventType event_type) bool JackDriver::attach(const std::string& server_name, - const std::string& client_name, - void* jack_client) + const std::string& client_name, + void* jack_client) { assert(!_client); if (!jack_client) { // Try supplied server name - if (server_name != "") { + if (!server_name.empty()) { _client = jack_client_open(client_name.c_str(), JackServerName, NULL, server_name.c_str()); if (_client) |