diff options
Diffstat (limited to 'src/testharness.h')
-rw-r--r-- | src/testharness.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testharness.h b/src/testharness.h index 63ff510..ceb29ac 100644 --- a/src/testharness.h +++ b/src/testharness.h @@ -20,6 +20,7 @@ #include <sstream> #include <string> #include "common.h" +#include "third_party/absl/strings/string_view.h" namespace sentencepiece { namespace test { @@ -33,7 +34,7 @@ int RunAllTests(); class ScopedTempFile { public: - explicit ScopedTempFile(const std::string &filename); + explicit ScopedTempFile(absl::string_view filename); ~ScopedTempFile(); const char *filename() const { return filename_.c_str(); } |