diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-18 15:54:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-18 15:54:51 +0200 |
commit | 90e0797981cb9b0b670e48b57926278fb642b3ee (patch) | |
tree | 57b5dfe6a0b0ec75c2b7553abf352bb57ecfe506 | |
parent | cf750a234613d0af4a4c6c411ab6eea5ba6a219b (diff) |
Fix bug (toolchain number conversion to string)
-rw-r--r-- | bbot/machine.cxx | 4 |
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"); } |