0031004: Coding - eliminate warnings issued by gcc 9.1.0
[occt.git] / src / TDF / TDF_IDFilter.hxx
index 6b7f4b1..aad20f1 100644 (file)
@@ -104,27 +104,25 @@ public:
   //! Writes the contents of <me> to <OS>.
   Standard_EXPORT void Dump (Standard_OStream& anOS) const;
 
-
-
-
-protected:
-
-
-
-
+  //! Assignment
+  void Assign (const TDF_IDFilter& theFilter)
+  {
+    myIgnore = theFilter.myIgnore;
+    myIDMap  = theFilter.myIDMap;
+  }
 
 private:
 
-  
   //! Private, to forbid implicit or hidden accesses to
   //! the copy constructor.
-  Standard_EXPORT TDF_IDFilter(const TDF_IDFilter& aFilter);
+  TDF_IDFilter(const TDF_IDFilter& aFilter);
+  TDF_IDFilter& operator= (const TDF_IDFilter& theOther);
 
+private:
 
   Standard_Boolean myIgnore;
   TDF_IDMap myIDMap;
 
-
 };