From dab9775223c2ae21ba118c3473ef43896aeb5f20 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 10 Oct 2024 19:20:58 -0600 Subject: [PATCH] fix bitwise-vs-logic AND (thanks, clang!) --- libs/ardour/export_profile_manager.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index d53faa8828..4f2bc3cbaa 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -300,20 +300,20 @@ ExportProfileManager::load_preset_from_disk (std::string const& path) bool ExportProfileManager::set_state (XMLNode const& root) { - return set_global_state (root) & set_local_state (root); + return set_global_state (root) && set_local_state (root); } bool ExportProfileManager::set_global_state (XMLNode const& root) { - return init_filenames (root.children ("ExportFilename")) & + return init_filenames (root.children ("ExportFilename")) && init_formats (root.children ("ExportFormat")); } bool ExportProfileManager::set_local_state (XMLNode const& root) { - return init_timespans (root.children ("ExportTimespan")) & + return init_timespans (root.children ("ExportTimespan")) && init_channel_configs (root.children ("ExportChannelConfiguration")); }