summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--src/AlsaDriver.hpp2
-rw-r--r--src/Patchage.cpp2
3 files changed, 2 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index d00de40..f6b1de1 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -30,7 +30,6 @@ Checks: >
-fuchsia-default-arguments-declarations,
-fuchsia-multiple-inheritance,
-fuchsia-overloaded-operator,
- -google-default-arguments,
-google-runtime-references,
-hicpp-no-array-decay,
-hicpp-signed-bitwise,
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp
index 45eb3db..299829f 100644
--- a/src/AlsaDriver.hpp
+++ b/src/AlsaDriver.hpp
@@ -40,7 +40,7 @@ public:
explicit AlsaDriver(Patchage* app);
~AlsaDriver();
- void attach(bool launch_daemon = false);
+ void attach(bool launch_daemon);
void detach();
bool is_attached() const { return (_seq != nullptr); }
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index d4b4a36..f02e22e 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -425,7 +425,7 @@ Patchage::attach()
#ifdef HAVE_ALSA
if (_alsa_driver_autoattach) {
- _alsa_driver->attach();
+ _alsa_driver->attach(false);
}
#endif