mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-30 15:21:36 +01:00
Run most of the unordered container tests (not the exception tests) on warning
level 4 on Visual C++. [SVN r38648]
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
#include <boost/limits.hpp>
|
||||
#include "../helpers/random_values.hpp"
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4127) // conditional expression is constant
|
||||
#endif
|
||||
|
||||
template <class X>
|
||||
void load_factor_tests(X* = 0)
|
||||
{
|
||||
@@ -70,3 +75,8 @@ int main()
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(pop)
|
||||
#pragma warning(disable:4127) // conditional expression is constant
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user