From cf9d0332f6b4dcd7dc388133ffd8fd6edd07e1c1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 16 May 2017 17:44:28 +0300 Subject: Add to_string(timestamp) --- libbutl/process.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/process.hxx') 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 // pid_t #endif +#include #include #include #include @@ -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* -- cgit v1.1