Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silence unused parameter warnings in release mode #43

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/boost/numeric/ublas/exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ namespace boost { namespace numeric { namespace ublas {
// template<class E>
// BOOST_UBLAS_INLINE
// void check_ex (bool expression, const char *file, int line, const E &e) {}
#define BOOST_UBLAS_CHECK_FALSE(e)
#define BOOST_UBLAS_CHECK(expression, e)
#define BOOST_UBLAS_CHECK_EX(expression, file, line, e)
#define BOOST_UBLAS_CHECK_FALSE(e) (void) (e);
#define BOOST_UBLAS_CHECK(expression, e) (void) (expression), (e);
#define BOOST_UBLAS_CHECK_EX(expression, file, line, e) (void) (expression), (e);
#endif


Expand Down