commit | 06c199ac9dde91cdebbf7e3899d773db797b0fdb | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Wed Aug 26 21:55:19 2015 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Wed Aug 26 21:55:19 2015 +0000 |
tree | 39f4d670dbcf91f57f1993c0660b40b085ef5570 | |
parent | e11c6d2d6ffb9ad41afb80340118162cd5387edd [diff] [blame] |
[libFuzzer] fix minor inefficiency, PR24584 llvm-svn: 246087
diff --git a/llvm/lib/Fuzzer/FuzzerIO.cpp b/llvm/lib/Fuzzer/FuzzerIO.cpp index f0295e9..a68c6c5 100644 --- a/llvm/lib/Fuzzer/FuzzerIO.cpp +++ b/llvm/lib/Fuzzer/FuzzerIO.cpp
@@ -32,7 +32,7 @@ long *Epoch) { std::vector<std::string> V; if (Epoch) { - auto E = GetEpoch(Dir.c_str()); + auto E = GetEpoch(Dir); if (*Epoch >= E) return V; *Epoch = E; }