2
0
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:
Michael Stevens
2005-05-08 17:34:54 +00:00
parent f747be62f2
commit 819cc11a1c

View File

@@ -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