summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 07:57:42 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 09:08:29 -0400
commit4938889c7453d519cc0b11e5787598ae85e49351 (patch)
treef3d9bbad6603b40c2765e4c7db251f4772fb3c62
parent943819c40ab43d5202cd9af75cd403447210ad0b (diff)
downloadpatchage-4938889c7453d519cc0b11e5787598ae85e49351.tar.gz
patchage-4938889c7453d519cc0b11e5787598ae85e49351.tar.bz2
patchage-4938889c7453d519cc0b11e5787598ae85e49351.zip
Add missing const qualifier
-rw-r--r--src/JackDbusDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JackDbusDriver.cpp b/src/JackDbusDriver.cpp
index 81aca11..642276b 100644
--- a/src/JackDbusDriver.cpp
+++ b/src/JackDbusDriver.cpp
@@ -142,8 +142,8 @@ JackDriver::~JackDriver()
void
JackDriver::update_attached()
{
- bool was_attached = _server_started;
- _server_started = is_started();
+ const bool was_attached = _server_started;
+ _server_started = is_started();
if (!_server_responding) {
if (was_attached) {