Skip to content

Commit ea3618c

Browse files
committed
Fixing code based on reported issues
1 parent 51dd6a0 commit ea3618c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

include/mockturtle/algorithms/emap.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct emap_params
100100
* Structural uses pattern matching for fully-DSD cells,
101101
* Hybrid combines the two.
102102
*/
103-
enum
103+
enum matching_mode_t
104104
{
105105
boolean,
106106
structural,

include/mockturtle/utils/tech_library.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ class tech_library
248248
}
249249
}
250250

251+
tech_library ( const tech_library& ) = delete;
252+
tech_library& operator=( const tech_library& ) = delete;
253+
251254
/*! \brief Get the gates matching the function.
252255
*
253256
* Returns a list of gates that match the function represented
@@ -1163,7 +1166,7 @@ class tech_library
11631166
bool _use_supergates;
11641167

11651168
std::vector<gate> const _gates; /* collection of gates */
1166-
super_lib const& _supergates_spec; /* collection of supergates declarations */
1169+
super_lib const _supergates_spec; /* collection of supergates declarations */
11671170
tech_library_params const _ps;
11681171

11691172
std::vector<standard_cell> const _cells; /* collection of standard cells */

0 commit comments

Comments
 (0)