forked from qt-creator/qt-creator
Git: Readd operator< for StateFilePair
Change-Id: Iabf481486582e61b08baf8d71416ae41984b9cff Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -114,4 +114,14 @@ private:
|
|||||||
|
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(Git::Internal::FileStates)
|
Q_DECLARE_OPERATORS_FOR_FLAGS(Git::Internal::FileStates)
|
||||||
|
|
||||||
|
namespace Git {
|
||||||
|
namespace Internal {
|
||||||
|
|
||||||
|
// Must appear after Q_DECLARE_OPERATORS_FOR_FLAGS
|
||||||
|
bool operator<(const CommitData::StateFilePair &a,
|
||||||
|
const CommitData::StateFilePair &b);
|
||||||
|
|
||||||
|
} // namespace Internal
|
||||||
|
} // namespace Git
|
||||||
|
|
||||||
#endif // COMMITDATA_H
|
#endif // COMMITDATA_H
|
||||||
|
|||||||
Reference in New Issue
Block a user