diff options
author | Kristoffer Ellersgaard Koch <kristoffer.koch@gmail.com> | 2019-05-05 10:00:27 +0200 |
---|---|---|
committer | Kristoffer Ellersgaard Koch <kristoffer.koch@gmail.com> | 2019-05-08 10:27:14 +0200 |
commit | 30c762d3a148afa9e27a93c1fa098b7c478511a4 (patch) | |
tree | b27299c6f35a630a9b1df53d8721850d87ee7b3d /kernel/rtlil.h | |
parent | a01386c0e45b4eee5295db440740a1ab271396fe (diff) | |
download | yosys-30c762d3a148afa9e27a93c1fa098b7c478511a4.tar.gz yosys-30c762d3a148afa9e27a93c1fa098b7c478511a4.tar.bz2 yosys-30c762d3a148afa9e27a93c1fa098b7c478511a4.zip |
Fix all warnings that occurred when compiling with gcc9
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index db5c33c73..54c8ee3bd 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -518,6 +518,7 @@ struct RTLIL::Const Const(const std::vector<RTLIL::State> &bits) : bits(bits) { flags = CONST_FLAG_NONE; } Const(const std::vector<bool> &bits); Const(const RTLIL::Const &c); + RTLIL::Const &operator =(const RTLIL::Const &other) = default; bool operator <(const RTLIL::Const &other) const; bool operator ==(const RTLIL::Const &other) const; @@ -597,6 +598,7 @@ struct RTLIL::SigChunk SigChunk(RTLIL::State bit, int width = 1); SigChunk(RTLIL::SigBit bit); SigChunk(const RTLIL::SigChunk &sigchunk); + RTLIL::SigChunk &operator =(const RTLIL::SigChunk &other) = default; RTLIL::SigChunk extract(int offset, int length) const; @@ -622,6 +624,7 @@ struct RTLIL::SigBit SigBit(const RTLIL::SigChunk &chunk, int index); SigBit(const RTLIL::SigSpec &sig); SigBit(const RTLIL::SigBit &sigbit); + RTLIL::SigBit &operator =(const RTLIL::SigBit &other) = default; bool operator <(const RTLIL::SigBit &other) const; bool operator ==(const RTLIL::SigBit &other) const; |