comparison Plugin/Token.h @ 195:2f1e872e8eaa

merge
author Alain Mazy <am@orthanc.team>
date Fri, 14 Jun 2024 16:31:58 +0200
parents 7bec4de04c91
children
comparison
equal deleted inserted replaced
194:85859ec3aa7e 195:2f1e872e8eaa
45 { 45 {
46 return key_; 46 return key_;
47 } 47 }
48 48
49 // required to use this class in std::set 49 // required to use this class in std::set
50 bool operator< (const Token &right) const 50 bool operator< (const Token &right) const;
51 {
52 if (type_ != right.type_)
53 {
54 return type_ < right.type_;
55 }
56 else
57 {
58 return key_ < right.key_ ;
59 }
60 }
61 }; 51 };
62 } 52 }