aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-03 13:02:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-03 13:02:04 +0300
commit8785388d59975192b620d1ec581716c58696eaea (patch)
treea2358f30413fe7a5401c076dda97b11650ea33ab /bbot/agent
parentc018ba477102970159c8fc4321f3eb8cbc873770 (diff)
Adapt to renaming traits alias to traits_type for basic_path, basic_url, and string_table class templates
Diffstat (limited to 'bbot/agent')
-rw-r--r--bbot/agent/agent.cxx3
-rw-r--r--bbot/agent/machine.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx
index 9e39b0a..06e4adf 100644
--- a/bbot/agent/agent.cxx
+++ b/bbot/agent/agent.cxx
@@ -452,7 +452,8 @@ static inline dir_path
snapshot_path (const dir_path& tp)
{
return tp.directory () /=
- path::traits::temp_name (tp.leaf ().string () + '-' + to_string (inst));
+ path::traits_type::temp_name (tp.leaf ().string () + '-' +
+ to_string (inst));
}
// Return available machines, (re-)bootstrapping them if necessary.
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx
index 92ee930..4da58ca 100644
--- a/bbot/agent/machine.cxx
+++ b/bbot/agent/machine.cxx
@@ -244,7 +244,7 @@ namespace bbot
// Machine log. Note that it is only removed with an explicit cleanup()
// call.
//
- log = path ("/tmp/" + path::traits::temp_name (name) + ".log");
+ log = path ("/tmp/" + path::traits_type::temp_name (name) + ".log");
// Map logical CPUs to sockets/cores/threads keeping the number of and
// cores even. Failed that, QEMU just makes it a machine with that number