diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 07:56:08 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-24 18:03:29 (GMT) |
commit | af9fc277536f37980ccdab699a934b3c42e9fba9 (patch) | |
tree | 1d7adaa7fe72dade98c4d77a8650b40d899cbef1 /Source/cmState.h | |
parent | 9b44018d520cfabc347d6d79cafdf0a37c62b4e0 (diff) | |
download | CMake-af9fc277536f37980ccdab699a934b3c42e9fba9.zip CMake-af9fc277536f37980ccdab699a934b3c42e9fba9.tar.gz CMake-af9fc277536f37980ccdab699a934b3c42e9fba9.tar.bz2 |
cmState: Make Snapshot EqualityComparable.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index e503cd2..d683068 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -93,6 +93,10 @@ public: }; private: + friend bool operator==(const cmState::Snapshot& lhs, + const cmState::Snapshot& rhs); + friend bool operator!=(const cmState::Snapshot& lhs, + const cmState::Snapshot& rhs); friend class cmState; friend class Directory; friend struct StrictWeakOrder; @@ -314,4 +318,7 @@ private: bool MSYSShell; }; +bool operator==(const cmState::Snapshot& lhs, const cmState::Snapshot& rhs); +bool operator!=(const cmState::Snapshot& lhs, const cmState::Snapshot& rhs); + #endif |