Fix some warnings in test/example code.

This commit is contained in:
Daniel James
2016-05-30 15:20:52 +01:00
parent e76c3dc1a2
commit c8d8c7edd4
3 changed files with 10 additions and 2 deletions
+5
View File
@@ -3,6 +3,11 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Force use of assert.
#if defined(NDEBUG)
#undef NDEBUG
#endif
#include <boost/functional/hash.hpp>
#include <cassert>