Prechádzať zdrojové kódy

Removed boost/noncopyable.hpp

mensinda 9 rokov pred
rodič
commit
726b004806
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      code/STEPFile.h

+ 4 - 2
code/STEPFile.h

@@ -41,7 +41,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_STEPFILE_H
 #define INCLUDED_AI_STEPFILE_H
 
-#include <boost/noncopyable.hpp>
 #include <bitset>
 #include <memory>
 #include <typeinfo>
@@ -589,7 +588,7 @@ namespace STEP {
     /** A LazyObject is created when needed. Before this happens, we just keep
        the text line that contains the object definition. */
     // -------------------------------------------------------------------------------
-    class LazyObject : public boost::noncopyable
+    class LazyObject
     {
         friend class DB;
     public:
@@ -597,6 +596,9 @@ namespace STEP {
         LazyObject(DB& db, uint64_t id, uint64_t line, const char* type,const char* args);
         ~LazyObject();
 
+        LazyObject( LazyObject const& ) = delete;
+        LazyObject operator=( LazyObject const& ) = delete;
+
     public:
 
         Object& operator * () {