summary refs log tree commit diff
path: root/nix/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-12-02 16:51:00 +0200
committerLudovic Courtès <ludo@gnu.org>2015-12-02 19:37:59 +0200
commit79aa1a83054af1600ba235ddf305337b5df78271 (patch)
tree98b24ab2b14e48c455dcbc953d7ac414d4ef28ab /nix/libutil/util.hh
parent60c7c364f81309adb6e22e2cbf250669916b7d11 (diff)
downloadguix-79aa1a83054af1600ba235ddf305337b5df78271.tar.gz
daemon: int2String -> std::to_string.
Diffstat (limited to 'nix/libutil/util.hh')
-rw-r--r--nix/libutil/util.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/nix/libutil/util.hh b/nix/libutil/util.hh
index 24e16ba36a..8fa1efbf37 100644
--- a/nix/libutil/util.hh
+++ b/nix/libutil/util.hh
@@ -337,13 +337,6 @@ template<class N> bool string2Int(const string & s, N & n)
     return str && str.get() == EOF;
 }
 
-template<class N> 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);