[test][range] Shield part of a test with macro (storing NonMovable is std::vector<>)

This commit is contained in:
Adam Wulkiewicz 2014-07-06 12:19:30 +02:00
parent da1323716a
commit 004e4e465f

View File

@ -202,8 +202,8 @@ int test_main(int, char* [])
{
test_all<int, true>();
test_all<int, false>();
// Storing non-movable elements in a std::vector is not possible in MSVC
#ifndef _MSC_VER
// Storing non-movable elements in a std::vector is not possible in some implementations of STD lib
#ifdef BOOST_GEOMETRY_TEST_NONMOVABLE_ELEMENTS
test_all<bgt::NonMovable, true>();
test_all<bgt::NonMovable, false>();
#endif