about summary refs log tree commit diff
path: root/src/libutil/archive.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-29T12·26+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-29T12·26+0100
commit5c28943e8fd19d7eb55865d45d6dc61336aa04e9 (patch)
tree23027f6e306f2563558643cf5d584394d88429d4 /src/libutil/archive.cc
parent71039becd11f5df4173692508dcb0ad36327c5fa (diff)
int2String() -> std::to_string()
Diffstat (limited to 'src/libutil/archive.cc')
-rw-r--r--src/libutil/archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc
index 0187f062b21d..6ee7981432b6 100644
--- a/src/libutil/archive.cc
+++ b/src/libutil/archive.cc
@@ -243,7 +243,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;
                     }