From b05ce6fb34e6a86093b0217b752f2b7d09236420 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Wed, 21 Sep 2016 15:38:42 +1000 Subject: [PATCH] Use PBD::to_string from pbd/string_convert.h in VCAMasterStrip class --- gtk2_ardour/vca_master_strip.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/vca_master_strip.cc b/gtk2_ardour/vca_master_strip.cc index 2d6088fbdf..aa4709ca79 100644 --- a/gtk2_ardour/vca_master_strip.cc +++ b/gtk2_ardour/vca_master_strip.cc @@ -18,7 +18,7 @@ #include -#include "pbd/convert.h" +#include "pbd/string_convert.h" #include "ardour/rc_configuration.h" #include "ardour/session.h" @@ -87,7 +87,7 @@ VCAMasterStrip::VCAMasterStrip (Session* s, boost::shared_ptr v) solo_mute_box.pack_start (mute_button, true, true); solo_mute_box.pack_start (solo_button, true, true); - number_label.set_text (to_string (v->number(), std::dec)); + number_label.set_text (PBD::to_string (v->number())); number_label.set_elements((ArdourButton::Element)(ArdourButton::Edge|ArdourButton::Body|ArdourButton::Text|ArdourButton::Inactive)); number_label.set_no_show_all (); number_label.set_name ("generic button");