diff options
Diffstat (limited to 'src/libs/codemodelbackendipc/cmbregistertranslationunitsforcodecompletioncommand.cpp')
-rw-r--r-- | src/libs/codemodelbackendipc/cmbregistertranslationunitsforcodecompletioncommand.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/codemodelbackendipc/cmbregistertranslationunitsforcodecompletioncommand.cpp b/src/libs/codemodelbackendipc/cmbregistertranslationunitsforcodecompletioncommand.cpp index a138138626..a21b53f5fa 100644 --- a/src/libs/codemodelbackendipc/cmbregistertranslationunitsforcodecompletioncommand.cpp +++ b/src/libs/codemodelbackendipc/cmbregistertranslationunitsforcodecompletioncommand.cpp @@ -36,6 +36,8 @@ #include <ostream> +#include <container_common.h> + namespace CodeModelBackEnd { RegisterTranslationUnitForCodeCompletionCommand::RegisterTranslationUnitForCodeCompletionCommand(const QVector<FileContainer> &fileContainers) @@ -69,7 +71,7 @@ bool operator==(const RegisterTranslationUnitForCodeCompletionCommand &first, co bool operator<(const RegisterTranslationUnitForCodeCompletionCommand &first, const RegisterTranslationUnitForCodeCompletionCommand &second) { - return first.fileContainers_ < second.fileContainers_; + return compareContainer(first.fileContainers_, second.fileContainers_); } QDebug operator<<(QDebug debug, const RegisterTranslationUnitForCodeCompletionCommand &command) |