Mercurial > hg > orthanc-authorization
diff Plugin/Token.h @ 193:7bec4de04c91
fix LSB build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 05 Jun 2024 15:48:26 +0200 |
parents | 55435a4dd2c6 |
children |
line wrap: on
line diff
--- 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 <boost/noncopyable.hpp> - 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; }; }