summaryrefslogtreecommitdiff
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-11-26 18:11:34 +0100
committerClifford Wolf <clifford@clifford.at>2015-11-26 18:11:34 +0100
commit6459e3ac3965ea56c8e6fb1b4309a1258df778a7 (patch)
treeafbf00cb48e21aa7d3917c0d0afca217b7fa74c9 /kernel/rtlil.h
parent0793f1b196df536975a044a4ce53025c81d00c7f (diff)
Removed dangling ';' in rtlil.h
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 99dcb311..7b669536 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -460,7 +460,7 @@ struct RTLIL::Const
Const(std::string str);
Const(int val, int width = 32);
Const(RTLIL::State bit, int width = 1);
- Const(const std::vector<RTLIL::State> &bits) : bits(bits) { flags = CONST_FLAG_NONE; };
+ Const(const std::vector<RTLIL::State> &bits) : bits(bits) { flags = CONST_FLAG_NONE; }
Const(const std::vector<bool> &bits);
bool operator <(const RTLIL::Const &other) const;
@@ -476,7 +476,7 @@ struct RTLIL::Const
inline int size() const { return bits.size(); }
inline RTLIL::State &operator[](int index) { return bits.at(index); }
- inline const RTLIL::State &operator[](int index) const { return bits.at(index); };
+ inline const RTLIL::State &operator[](int index) const { return bits.at(index); }
inline RTLIL::Const extract(int offset, int len = 1, RTLIL::State padding = RTLIL::State::S0) const {
RTLIL::Const ret;