diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-05-08 11:25:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08 11:25:22 +0200 |
commit | 3870e7cf29e2f59a10257babebab6bc37bc97c01 (patch) | |
tree | f5e445d42b42d57771bff36b67fe7db21f16fe4b /kernel/rtlil.h | |
parent | c582a25bdbd657c9d3a91cc627520fd25188fdcc (diff) | |
parent | 30c762d3a148afa9e27a93c1fa098b7c478511a4 (diff) | |
download | yosys-3870e7cf29e2f59a10257babebab6bc37bc97c01.tar.gz yosys-3870e7cf29e2f59a10257babebab6bc37bc97c01.tar.bz2 yosys-3870e7cf29e2f59a10257babebab6bc37bc97c01.zip |
Merge pull request #991 from kristofferkoch/gcc9-warnings
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 0c3fa6f76..a0270bd1c 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; |