diff options
Diffstat (limited to 'base/file_path.cc')
-rw-r--r-- | base/file_path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_path.cc b/base/file_path.cc index 907a412..32217f2 100644 --- a/base/file_path.cc +++ b/base/file_path.cc @@ -251,7 +251,7 @@ bool FilePath::AppendRelativePath(const FilePath& child, if (parent_components.size() >= child_components.size()) return false; - if (parent_components.size() == 0) + if (parent_components.empty()) return false; std::vector<StringType>::const_iterator parent_comp = |