From 4938889c7453d519cc0b11e5787598ae85e49351 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 07:57:42 -0400 Subject: Add missing const qualifier --- src/JackDbusDriver.cpp | 4 ++-- 1 file 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) { -- cgit v1.2.1