diff OrthancServer/ServerIndex.h @ 220:bb8c260c0092

fix for windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Nov 2012 15:06:50 +0100
parents f276b175dcaf
children 4eb0c7ce86c9
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Thu Nov 29 14:08:27 2012 +0100
+++ b/OrthancServer/ServerIndex.h	Thu Nov 29 15:06:50 2012 +0100
@@ -33,6 +33,7 @@
 #pragma once
 
 #include <boost/thread.hpp>
+#include <boost/noncopyable.hpp>
 #include "../Core/SQLite/Connection.h"
 #include "../Core/DicomFormat/DicomMap.h"
 #include "../Core/FileStorage.h"
@@ -50,7 +51,7 @@
   }
 
 
-  class ServerIndex
+  class ServerIndex : public boost::noncopyable
   {
   private:
     boost::mutex mutex_;