[Engine] Clear up compiler warnings

This commit is contained in:
tangxifan 2021-09-24 15:18:31 -07:00
parent 2de4a460a8
commit f735c10b84
2 changed files with 0 additions and 6 deletions

View File

@ -51,11 +51,6 @@ BasicPort::BasicPort(const std::string& name, const size_t& width) {
set_origin_port_width(-1); set_origin_port_width(-1);
} }
/* Copy constructor */
BasicPort::BasicPort(const BasicPort& basic_port) {
set(basic_port);
}
/************************************************************************ /************************************************************************
* Accessors * Accessors
***********************************************************************/ ***********************************************************************/

View File

@ -18,7 +18,6 @@ class BasicPort {
BasicPort(const char* name, const size_t& width); BasicPort(const char* name, const size_t& width);
BasicPort(const std::string& name, const size_t& lsb, const size_t& msb); BasicPort(const std::string& name, const size_t& lsb, const size_t& msb);
BasicPort(const std::string& name, const size_t& width); BasicPort(const std::string& name, const size_t& width);
BasicPort(const BasicPort& basic_port); /* Copy constructor */
public: /* Overloaded operators */ public: /* Overloaded operators */
bool operator== (const BasicPort& portA) const; bool operator== (const BasicPort& portA) const;
bool operator< (const BasicPort& portA) const; bool operator< (const BasicPort& portA) const;