From 5c28943e8fd19d7eb55865d45d6dc61336aa04e9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 29 Oct 2015 13:26:55 +0100 Subject: int2String() -> std::to_string() --- src/libutil/util.hh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index a05a4cb88093..038838820899 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -356,13 +356,6 @@ template bool string2Int(const string & s, N & n) return str && str.get() == EOF; } -template string int2String(N n) -{ - std::ostringstream str; - str << n; - return str.str(); -} - /* Return true iff `s' ends in `suffix'. */ bool hasSuffix(const string & s, const string & suffix); -- cgit 1.4.1