From 9f21dfea1b58154021e4aea7bd24552dc1a77aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 23 Jul 2015 10:47:05 +0200 Subject: [PATCH] Fixed documentation and test-case typos, after Peter Dimov's review of the PR#5 (https://github.com/boostorg/assert/pull/5) --- assert.html | 2 +- test/assert_is_void_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assert.html b/assert.html index 9cd0706..e1c5b4f 100644 --- a/assert.html +++ b/assert.html @@ -122,7 +122,7 @@ void MyContainer::erase(iterator i) { //Some sanity checks, data must be ordered - #ifndef BOOST_ASSERT_IS_EMPTY + #ifndef BOOST_ASSERT_IS_VOID if(i != c.begin()){ iterator prev = i; --prev; diff --git a/test/assert_is_void_test.cpp b/test/assert_is_void_test.cpp index 86ee329..7a2d0ba 100644 --- a/test/assert_is_void_test.cpp +++ b/test/assert_is_void_test.cpp @@ -27,7 +27,7 @@ #include #ifndef BOOST_ASSERT_IS_VOID -#error "Error: BOOST_ASSERT should be void in NDEBUG" +#error "BOOST_ASSERT should NOT be void if NDEBUG is not defined" #endif // BOOST_DISABLE_ASSERTS, !NDEBUG