fs/Traits: add missing dereference in RelativePathImpl()

This commit is contained in:
Max Kellermann 2015-02-28 23:19:28 +01:00
parent c637b96f10
commit a918821868
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ RelativePathImpl(typename Traits::const_pointer base,
return nullptr;
other += base_length;
if (other != 0) {
if (*other != 0) {
if (!Traits::IsSeparator(*other))
/* mismatch */
return nullptr;