Added std:: infront of ends references.
This commit is contained in:
parent
8d7acb9437
commit
8a061e80e1
@ -542,7 +542,7 @@ along with expression itself.
|
|||||||
#define OSGUTX_TEST_F( expr ) \
|
#define OSGUTX_TEST_F( expr ) \
|
||||||
if( !(expr) ){ \
|
if( !(expr) ){ \
|
||||||
std::stringstream ss; \
|
std::stringstream ss; \
|
||||||
ss<< #expr <<" failure: "<<__FILE__<<", line "<<__LINE__<<ends; \
|
ss<< #expr <<" failure: "<<__FILE__<<", line "<<__LINE__<<std::ends; \
|
||||||
throw osgUtx::TestFailureX(ss.str()); \
|
throw osgUtx::TestFailureX(ss.str()); \
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -558,7 +558,7 @@ along with expression itself.
|
|||||||
#define OSGUTX_TEST_E( expr ) \
|
#define OSGUTX_TEST_E( expr ) \
|
||||||
if( !(expr) ){ \
|
if( !(expr) ){ \
|
||||||
std::stringstream ss; \
|
std::stringstream ss; \
|
||||||
ss<< #expr <<" error: "<<__FILE__<<", line "<<__LINE__<<ends; \
|
ss<< #expr <<" error: "<<__FILE__<<", line "<<__LINE__<<std::ends; \
|
||||||
throw osgUtx::TestErrorX(ss.str()); \
|
throw osgUtx::TestErrorX(ss.str()); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user