# HG changeset patch # User Sebastien Jodogne # Date 1717595306 -7200 # Node ID 7bec4de04c914f2ed1559e29d58571f1b45ebdea # Parent ccfd44ec3c9bcee776d2e6becda29acbd049ce7f fix LSB build diff -r ccfd44ec3c9b -r 7bec4de04c91 Plugin/Token.cpp --- a/Plugin/Token.cpp Wed Jun 05 15:31:09 2024 +0200 +++ b/Plugin/Token.cpp Wed Jun 05 15:48:26 2024 +0200 @@ -37,4 +37,15 @@ { } + bool Token::operator< (const Token &right) const + { + if (type_ != right.type_) + { + return type_ < right.type_; + } + else + { + return key_ < right.key_ ; + } + } } diff -r ccfd44ec3c9b -r 7bec4de04c91 Plugin/Token.h --- a/Plugin/Token.h Wed Jun 05 15:31:09 2024 +0200 +++ b/Plugin/Token.h Wed Jun 05 15:48:26 2024 +0200 @@ -22,11 +22,9 @@ #include "Enumerations.h" -#include - namespace OrthancPlugins { - class Token : public boost::noncopyable + class Token { private: TokenType type_; @@ -49,16 +47,6 @@ } // required to use this class in std::set - bool operator< (const Token &right) const - { - if (type_ != right.type_) - { - return type_ < right.type_; - } - else - { - return key_ < right.key_ ; - } - } + bool operator< (const Token &right) const; }; }