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