diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-16 17:44:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-16 17:44:28 +0300 |
commit | cf9d0332f6b4dcd7dc388133ffd8fd6edd07e1c1 (patch) | |
tree | 109d6ec69c93920d2db08f7ec072ba8de270a032 /libbutl/process.hxx | |
parent | ed3f024f40771c90e0eb7ef5a51e7e01ab0247d4 (diff) |
Add to_string(timestamp)
Diffstat (limited to 'libbutl/process.hxx')
-rw-r--r-- | libbutl/process.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/process.hxx b/libbutl/process.hxx index 799313e..1f82af0 100644 --- a/libbutl/process.hxx +++ b/libbutl/process.hxx @@ -9,6 +9,7 @@ # include <sys/types.h> // pid_t #endif +#include <string> #include <vector> #include <iosfwd> #include <cassert> @@ -477,8 +478,7 @@ namespace butl inline const char* process_arg_as (const T& x, std::string& storage) { - using namespace std; - return (storage = to_string (x)).c_str (); + return (storage = std::to_string (x)).c_str (); } inline const char* |