Skip to content

Commit 7b0758d

Browse files
committed
Fix duplicate template instantiations; fixes unit test builds on ARM
1 parent 8e206a1 commit 7b0758d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testing/internal/serialization_v100.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#include <catch.hpp>
2-
#include "portable_archive/portable_iarchive.hpp"
3-
#include "portable_archive/portable_oarchive.hpp"
42
#include "sample.h"
53
#include <fstream>
64
#include <sstream>
75
#include <type_traits>
86

7+
#define NO_EXPLICIT_TEMPLATE_INSTANTIATION
8+
#include "portable_archive/portable_iarchive.hpp"
9+
#include "portable_archive/portable_oarchive.hpp"
10+
911
struct Testclass {
1012
std::string teststr;
1113
double testdouble;

0 commit comments

Comments
 (0)