Use pbd/string_convert.h API instead of std::ostream for numeric formatting to
remain locale independent and not have to use a LocaleGuard. The formatting
is equivalent.
The code in this file has been disabled in the GUI for some time...and I doubt
it would now work correctly.
#include "ardour/session.h"
#include "pbd/controllable.h"
-#include "pbd/convert.h"
#include "pbd/failed_constructor.h"
+#include "pbd/string_convert.h"
#include <sstream>
#include <algorithm>
XMLNode * remote_control = xml_track.child ("RemoteControl");
if (remote_control && (prop = remote_control->property ("id"))) {
uint32_t control_id = session.ntracks() + session.nbusses() + 1;
- prop->set_value (to_string (control_id, std::dec));
+ prop->set_value (to_string (control_id));
}
xml_track.remove_nodes_and_delete ("Extra");