diff --git a/code/STEPFile.h b/code/STEPFile.h index e87cc4fa9..dfb190726 100644 --- a/code/STEPFile.h +++ b/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 #include #include #include @@ -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 * () {