diff options
Diffstat (limited to 'Source/cmCMakePath.h')
-rw-r--r-- | Source/cmCMakePath.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCMakePath.h b/Source/cmCMakePath.h index a42ac98..fd71c1f 100644 --- a/Source/cmCMakePath.h +++ b/Source/cmCMakePath.h @@ -749,8 +749,7 @@ inline cmCMakePath::iterator cmCMakePath::end() const inline bool operator==(const cmCMakePath::iterator& lhs, const cmCMakePath::iterator& rhs) { - return lhs.Path == rhs.Path && lhs.Path != nullptr && - lhs.Iterator == rhs.Iterator; + return lhs.Path == rhs.Path && lhs.Path && lhs.Iterator == rhs.Iterator; } inline bool operator!=(const cmCMakePath::iterator& lhs, |