mirror of
https://github.com/boostorg/conversion.git
synced 2025-08-02 05:54:31 +02:00
Fixed a warning for MSVC
Added changelog [SVN r8669]
This commit is contained in:
5
test.hpp
5
test.hpp
@@ -2,6 +2,9 @@
|
||||
// who: developed by Kevlin Henney
|
||||
// when: November 2000
|
||||
// where: tested with BCC 5.5, MSVC 6.0, and g++ 2.91
|
||||
//
|
||||
// ChangeLog:
|
||||
// 20 Jan 2001 - Fixed a warning for MSVC (Dave Abrahams)
|
||||
|
||||
#ifndef TEST_INCLUDED
|
||||
#define TEST_INCLUDED
|
||||
@@ -118,7 +121,7 @@ namespace test // test utilities
|
||||
|
||||
inline void check_non_null(const void* ptr, const std::string & description)
|
||||
{
|
||||
check(ptr, "expected non-null pointer: " + description);
|
||||
check(ptr != 0, "expected non-null pointer: " + description);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user