Removed all the virtual default constructors *::create(), as they are not used.
[libdai.git] / include / dai / regiongraph.h
index 8100120..979915d 100644 (file)
@@ -110,9 +110,6 @@ class RegionGraph : public FactorGraph {
         /// Clone *this (virtual copy constructor)
         virtual RegionGraph* clone() const { return new RegionGraph(*this); }
 
-        /// Create (virtual default constructor)
-        virtual RegionGraph* create() const { return new RegionGraph(); }
-
         /// Set the content of the I'th factor and make a backup of its old content if backup == true
         virtual void setFactor( size_t I, const Factor &newFactor, bool backup = false ) {
             FactorGraph::setFactor( I, newFactor, backup );