aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-18 15:54:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-18 15:54:51 +0200
commit90e0797981cb9b0b670e48b57926278fb642b3ee (patch)
tree57b5dfe6a0b0ec75c2b7553abf352bb57ecfe506
parentcf750a234613d0af4a4c6c411ab6eea5ba6a219b (diff)
Fix bug (toolchain number conversion to string)
-rw-r--r--bbot/machine.cxx4
1 files 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");
}