aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil/archive.cc
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/archive.cc
parent60c7c364f81309adb6e22e2cbf250669916b7d11 (diff)
downloadpatches-79aa1a83054af1600ba235ddf305337b5df78271.tar
patches-79aa1a83054af1600ba235ddf305337b5df78271.tar.gz
daemon: int2String -> std::to_string.
Diffstat (limited to 'nix/libutil/archive.cc')
-rw-r--r--nix/libutil/archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libutil/archive.cc b/nix/libutil/archive.cc
index 6856ea0f28..4e3d99356a 100644
--- a/nix/libutil/archive.cc
+++ b/nix/libutil/archive.cc
@@ -256,7 +256,7 @@ static void parse(ParseSink & sink, Source & source, const Path & path)
if (i != names.end()) {
printMsg(lvlDebug, format("case collision between `%1%' and `%2%'") % i->first % name);
name += caseHackSuffix;
- name += int2String(++i->second);
+ name += std::to_string(++i->second);
} else
names[name] = 0;
}