mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-20 15:12:16 +00:00
Fixed unused variable warning in BOOST_UBLAS_CHECK release build
[SVN r28742]
This commit is contained in:
@@ -254,12 +254,10 @@ 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(expression, e)
|
||||
{ (expession);
|
||||
}
|
||||
#define BOOST_UBLAS_CHECK_EX(expression, file, line, e)
|
||||
{ (expession);
|
||||
}
|
||||
#define BOOST_UBLAS_CHECK(expression, e) \
|
||||
if (! (expression) );
|
||||
#define BOOST_UBLAS_CHECK_EX(expression, file, line, e) \
|
||||
if (! (expression) );
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user