| Index: tools/gn/filesystem_utils.cc
|
| diff --git a/tools/gn/filesystem_utils.cc b/tools/gn/filesystem_utils.cc
|
| index 17fec9f4fb6187d30d73750883896a80ba5b13e3..097a2276b225003214253be93a479207a360c0c6 100644
|
| --- a/tools/gn/filesystem_utils.cc
|
| +++ b/tools/gn/filesystem_utils.cc
|
| @@ -340,7 +340,7 @@ bool EnsureStringIsInOutputDir(const SourceDir& dir,
|
| // This check will be wrong for all proper prefixes "e.g. "/output" will
|
| // match "/out" but we don't really care since this is just a sanity check.
|
| const std::string& dir_str = dir.value();
|
| - if (str.compare(0, dir_str.length(), dir_str, 0, dir_str.length()) == 0)
|
| + if (str.compare(0, dir_str.length(), dir_str) == 0)
|
| return true; // Output directory is hardcoded.
|
|
|
| if (allow_templates) {
|
|
|