We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72b212d + 6bc9f8e commit 31d94f9Copy full SHA for 31d94f9
include/verilogAST.hpp
@@ -115,7 +115,7 @@ class Cast : public Expression {
115
116
Cast(unsigned int width, std::unique_ptr<Expression> expr)
117
: width(width), expr(std::move(expr)){};
118
- Cast(const Cast& rhs) : width(rhs.width), expr(expr->clone()){};
+ Cast(const Cast& rhs) : width(rhs.width), expr(rhs.expr->clone()){};
119
auto clone() const { return std::unique_ptr<Cast>(clone_impl()); }
120
121
std::string toString() override;
0 commit comments