Use PBD::to_string() from pbd/string_convert.h in VCATimeAxisView
authorTim Mayberry <mojofunk@gmail.com>
Wed, 21 Sep 2016 05:43:56 +0000 (15:43 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Tue, 18 Apr 2017 23:37:01 +0000 (09:37 +1000)
gtk2_ardour/vca_time_axis.cc

index 6a09c7f9a809ad84da9fbe0ba888ff7f6e6662d0..811437b5850af4d519c5f10b1004cd864c3b7a3b 100644 (file)
@@ -17,7 +17,7 @@
 
 */
 
-#include "pbd/convert.h"
+#include "pbd/string_convert.h"
 
 #include "ardour/mute_control.h"
 #include "ardour/profile.h"
@@ -155,7 +155,7 @@ VCATimeAxisView::set_vca (boost::shared_ptr<VCA> v)
        mute_button.set_controllable (_vca->mute_control());
 
        /* VCA number never changes */
-       number_label.set_text (to_string (_vca->number(), std::dec));
+       number_label.set_text (PBD::to_string (_vca->number()));
 
        set_height (preset_height (HeightNormal));