changeset 193:7bec4de04c91

fix LSB build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Jun 2024 15:48:26 +0200
parents ccfd44ec3c9b
children 2f1e872e8eaa
files Plugin/Token.cpp Plugin/Token.h
diffstat 2 files changed, 13 insertions(+), 14 deletions(-) [+]
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_ ;
+    }
+  }
 }
--- 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;
   };
 }