Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions source/src/utility/factory/Registrant.hh
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ public: // Types
typedef typename ProductFactory::Create Create; // Product creation function


private: // Creation


/// @brief Copy constructor
Registrant( Registrant const & ); // Undefined


public: // Creation


Expand Down Expand Up @@ -175,12 +168,9 @@ public: // Creation
}


private: // Assignment


/// @brief Copy assignment
Registrant &
operator =( Registrant const & ); // Undefined
// Each constructor calls ProductFactory::add(); a copy would silently re-register the same key.
Registrant( Registrant const & ) = delete;
Registrant & operator =( Registrant const & ) = delete;


}; // Registrant
Expand Down