diff --git a/include/mockturtle/algorithms/emap.hpp b/include/mockturtle/algorithms/emap.hpp index 813797590..055d9b25b 100644 --- a/include/mockturtle/algorithms/emap.hpp +++ b/include/mockturtle/algorithms/emap.hpp @@ -100,7 +100,7 @@ struct emap_params * Structural uses pattern matching for fully-DSD cells, * Hybrid combines the two. */ - enum + enum matching_mode_t { boolean, structural, diff --git a/include/mockturtle/utils/tech_library.hpp b/include/mockturtle/utils/tech_library.hpp index b22d574bc..16695554f 100644 --- a/include/mockturtle/utils/tech_library.hpp +++ b/include/mockturtle/utils/tech_library.hpp @@ -248,6 +248,9 @@ class tech_library } } + tech_library ( const tech_library& ) = delete; + tech_library& operator=( const tech_library& ) = delete; + /*! \brief Get the gates matching the function. * * Returns a list of gates that match the function represented @@ -1163,7 +1166,7 @@ class tech_library bool _use_supergates; std::vector const _gates; /* collection of gates */ - super_lib const& _supergates_spec; /* collection of supergates declarations */ + super_lib const _supergates_spec; /* collection of supergates declarations */ tech_library_params const _ps; std::vector const _cells; /* collection of standard cells */