Skip to content

Commit

Permalink
Merge pull request #693 from pah/apple-fix-warning
Browse files Browse the repository at this point in the history
tests: datatypes/bit/sc_bit/test03: fix -Wcatch-value
  • Loading branch information
lmailletcontoz authored Oct 14, 2024
2 parents 66e78c0 + 2d128b5 commit 78be20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/systemc/datatypes/bit/sc_bit/test03/test03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
TYPE var(TARGET); \
std::cout << " is mapped to " << var << std::endl; \
} \
catch( sc_core::sc_report rep )\
catch( const sc_core::sc_report & )\
{\
std::cout << " IS NOT LEGAL!!!" << std::endl; \
}\
Expand Down

0 comments on commit 78be20e

Please sign in to comment.