diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-12 18:14:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-12 18:14:09 -0400 |
commit | cc543280d9869d4a7b800d547c53e38b13d02cea (patch) | |
tree | aa26b29a02fa43ff24e5c9c777cb5294bf67e8e9 /gtk2_ardour | |
parent | 10643779b6f039a7458bd0c970ef40ac80ea0568 (diff) |
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/debug.cc | 8 | ||||
-rw-r--r-- | gtk2_ardour/debug.h | 8 |
2 files changed, 8 insertions, 8 deletions
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; } } |