Skip to content

Commit eb61660

Browse files
authored
Merge pull request #210 from devosoft/instlib-delete-copy-move
Delete InstLib copy and move constructors
2 parents 33f2b1c + c9791b1 commit eb61660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/hardware/InstLib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ namespace emp {
6464

6565
public:
6666
InstLib() : inst_lib(), inst_funs(), name_map(), arg_map() { ; } ///< Default Constructor
67-
InstLib(const InstLib &) = default; ///< Copy Constructor
68-
InstLib(InstLib &&) = default; ///< Move Constructor
67+
InstLib(const InstLib &) = delete; ///< Copy Constructor
68+
InstLib(InstLib &&) = delete; ///< Move Constructor
6969
~InstLib() { ; } ///< Destructor
7070

7171
InstLib & operator=(const InstLib &) = default; ///< Copy Operator

0 commit comments

Comments
 (0)