summaryrefslogtreecommitdiffstats
path: root/src/canon_perftest.cc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2014-11-09 07:01:23 (GMT)
committerScott Graham <scottmg@chromium.org>2014-11-09 07:01:23 (GMT)
commit4ee1cb54d77d902a0223ebde12dff3b3efec8a8d (patch)
treebd771c7674ee2fe5ba4c334948c9149ba4ea98b9 /src/canon_perftest.cc
parent559389de082406f44ae752a2494e53000d31a7df (diff)
downloadNinja-4ee1cb54d77d902a0223ebde12dff3b3efec8a8d.zip
Ninja-4ee1cb54d77d902a0223ebde12dff3b3efec8a8d.tar.gz
Ninja-4ee1cb54d77d902a0223ebde12dff3b3efec8a8d.tar.bz2
fix order of args to CanonicalizePath
Diffstat (limited to 'src/canon_perftest.cc')
-rw-r--r--src/canon_perftest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canon_perftest.cc b/src/canon_perftest.cc
index 8defa91..389ac24 100644
--- a/src/canon_perftest.cc
+++ b/src/canon_perftest.cc
@@ -35,7 +35,7 @@ int main() {
int64_t start = GetTimeMillis();
unsigned int slash_bits;
for (int i = 0; i < kNumRepetitions; ++i) {
- CanonicalizePath(buf, &len, &err, &slash_bits);
+ CanonicalizePath(buf, &len, &slash_bits, &err);
}
int delta = (int)(GetTimeMillis() - start);
times.push_back(delta);