Skip to content

Commit

Permalink
Fixing a build issue with recent c++20 compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
xtofalex committed Jul 29, 2023
1 parent 37667df commit 2adb95c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/VerilogTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ std::string Number::getDescription() const {
}
//LCOV_EXCL_STOP

Concatenation::Concatenation(const Expressions& expressions)
:expressions_(expressions)
{}

//LCOV_EXCL_START
std::string Concatenation::getString() const {
std::ostringstream stream;
Expand Down Expand Up @@ -257,4 +261,4 @@ std::string Expression::getDescription() const {
}
//LCOV_EXCL_STOP

}} // namespace verilog // namespace naja
}} // namespace verilog // namespace naja
2 changes: 1 addition & 1 deletion src/VerilogTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ struct Concatenation {
using Expressions = std::vector<Expression>;
Concatenation() = default;
Concatenation(const Concatenation&) = default;
Concatenation(const Expressions& expressions): expressions_(expressions) {}
Concatenation(const Expressions& expressions);
std::string getString() const;
std::string getDescription() const;

Expand Down

0 comments on commit 2adb95c

Please sign in to comment.