diff options
Diffstat (limited to 'Source/QtDialog/QCMake.h')
-rw-r--r-- | Source/QtDialog/QCMake.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h index b9abf18..bfd2585 100644 --- a/Source/QtDialog/QCMake.h +++ b/Source/QtDialog/QCMake.h @@ -40,6 +40,8 @@ struct QCMakeCacheProperty QString Help; PropertyType Type; bool Advanced; + bool operator==(const QCMakeCacheProperty& other) const { return this->Key == other.Key; } + bool operator<(const QCMakeCacheProperty& other) const { return this->Key < other.Key; } }; // make types usable with QVariant |