From cc543280d9869d4a7b800d547c53e38b13d02cea Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 12 Jun 2015 18:14:09 -0400 Subject: We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG mechanism away from a 64bit integer and toward std::bitset. Clean up a few minor related PBD::DEBUG issues along the way --- gtk2_ardour/debug.cc | 8 ++++---- gtk2_ardour/debug.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/debug.cc b/gtk2_ardour/debug.cc index a75a102a8c..7065e6a9b6 100644 --- a/gtk2_ardour/debug.cc +++ b/gtk2_ardour/debug.cc @@ -25,7 +25,7 @@ using namespace std; -uint64_t PBD::DEBUG::Drags = PBD::new_debug_bit ("drags"); -uint64_t PBD::DEBUG::CutNPaste = PBD::new_debug_bit ("cutnpaste"); -uint64_t PBD::DEBUG::Accelerators = PBD::new_debug_bit ("accelerators"); -uint64_t PBD::DEBUG::GUITiming = PBD::new_debug_bit ("guitiming"); +PBD::DebugBits PBD::DEBUG::Drags = PBD::new_debug_bit ("drags"); +PBD::DebugBits PBD::DEBUG::CutNPaste = PBD::new_debug_bit ("cutnpaste"); +PBD::DebugBits PBD::DEBUG::Accelerators = PBD::new_debug_bit ("accelerators"); +PBD::DebugBits PBD::DEBUG::GUITiming = PBD::new_debug_bit ("guitiming"); diff --git a/gtk2_ardour/debug.h b/gtk2_ardour/debug.h index db0b3c123f..660e674a4a 100644 --- a/gtk2_ardour/debug.h +++ b/gtk2_ardour/debug.h @@ -26,10 +26,10 @@ namespace PBD { namespace DEBUG { - extern uint64_t Drags; - extern uint64_t CutNPaste; - extern uint64_t Accelerators; - extern uint64_t GUITiming; + extern DebugBits Drags; + extern DebugBits CutNPaste; + extern DebugBits Accelerators; + extern DebugBits GUITiming; } } -- cgit v1.2.3