Skip to content
Permalink
Browse files

only compile test for Boost Serialization if that library is enabled.

  • Loading branch information...
gentryx committed Dec 14, 2018
1 parent 30a848a commit 8c125d83fa9d3af02aa11ff8cfa35d25bb715cc2
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/libgeodecomp/storage/test/unit/reorderingunstructuredgridtest.h
@@ -846,6 +846,7 @@ class ReorderingUnstructuredGridTest : public CxxTest::TestSuite
void testLoadSaveRegionWithBoostSerialization()
{
#ifdef LIBGEODECOMP_WITH_CPP14
#ifdef LIBGEODECOMP_WITH_BOOST_SERIALIZATION
typedef GridTypeSelector<SimpleSerializableCell, Topology, false, APITraits::FalseType>::Value GridType;

Region<1> nodeSet;
@@ -933,6 +934,7 @@ class ReorderingUnstructuredGridTest : public CxxTest::TestSuite
TS_ASSERT_EQUALS(1000 * counter, cell.cargo[99]);
++counter;
}
#endif
#endif
}
};

0 comments on commit 8c125d8

Please sign in to comment.
You can’t perform that action at this time.