Skip to content

Commit

Permalink
Fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharpm committed Jan 26, 2017
1 parent 2261fee commit e4d543d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ foreach(TEST_SOURCE ${TESTS})
add_test("${TEST_TARGET}" "${TEST_TARGET}")

# If we are on a 64-bit machine, create an extra 32-bit version of the test if portability testing is enabled
if((${CMAKE_SIZEOF_VOID_P} EQUAL 8) AND (NOT SKIP_PORTABILITY_TEST))
if((NOT MSVC) AND (${CMAKE_SIZEOF_VOID_P} EQUAL 8) AND (NOT SKIP_PORTABILITY_TEST))
add_executable(${TEST_TARGET}_32 ${TEST_SOURCE})
set_target_properties(${TEST_TARGET}_32 PROPERTIES
COMPILE_FLAGS "-m32" LINK_FLAGS "-m32")
Expand Down
3 changes: 3 additions & 0 deletions unittests/polymorphic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ struct PolyDerivedD : PolyBaseB, PolyBaseC
};

CEREAL_REGISTER_TYPE(PolyDerivedD)
#ifdef _MSC_VER
CEREAL_REGISTER_POLYMORPHIC_RELATION(PolyBaseA, PolyDerivedD)
#endif

struct PolyBase
{
Expand Down

0 comments on commit e4d543d

Please sign in to comment.