fs/Traits: add missing dereference in RelativePathImpl()
This commit is contained in:
parent
c637b96f10
commit
a918821868
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue