From 90e0797981cb9b0b670e48b57926278fb642b3ee Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 18 Apr 2017 15:54:51 +0200 Subject: Fix bug (toolchain number conversion to string) --- bbot/machine.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbot/machine.cxx b/bbot/machine.cxx index 0fc38ee..cb835bd 100644 --- a/bbot/machine.cxx +++ b/bbot/machine.cxx @@ -52,7 +52,7 @@ namespace bbot { tracer trace ("create_tap"); - string t ("tap" + tc_num); + string t ("tap" + to_string (tc_num)); // First try to delete it in case there is one from a previous run. // @@ -195,7 +195,7 @@ namespace bbot // // VNC & monitor. // - "-vnc", "127.0.0.1:" + tc_num, // 5900 + tc_num + "-vnc", "127.0.0.1:" + to_string (tc_num), // 5900 + tc_num "-monitor", "unix:" + monitor.string () + ",server,nowait"); } -- cgit v1.1