diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-25 21:53:16 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-25 21:53:16 +0000 |
commit | 2a949ceb403b6c6bda294dc64212f3522c2090f6 (patch) | |
tree | 7e29c7e9615646823cff62d04850d2fd26f93370 | |
parent | Enable performance checks and fix accordingly (diff) | |
download | slicer-2a949ceb403b6c6bda294dc64212f3522c2090f6.tar.bz2 slicer-2a949ceb403b6c6bda294dc64212f3522c2090f6.tar.xz slicer-2a949ceb403b6c6bda294dc64212f3522c2090f6.zip |
Fix test code pulling in implementation header
-rw-r--r-- | slicer/test/conversions.h | 2 | ||||
-rw-r--r-- | slicer/test/serializers.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/slicer/test/conversions.h b/slicer/test/conversions.h index 537fe42..55f42f3 100644 --- a/slicer/test/conversions.h +++ b/slicer/test/conversions.h @@ -3,7 +3,7 @@ #include <boost/date_time/posix_time/posix_time_types.hpp> #include <visibility.h> -#include <slicer/modelPartsTypes.impl.h> +#include <slicer/modelPartsTypes.h> #include <types.h> namespace TestModule { diff --git a/slicer/test/serializers.cpp b/slicer/test/serializers.cpp index 311a9f2..a6b6b23 100644 --- a/slicer/test/serializers.cpp +++ b/slicer/test/serializers.cpp @@ -19,6 +19,10 @@ #include <definedDirs.h> #include "conversions.h" +#ifdef SLICER_MODELPARTSTYPES_IMPL_H +#error Test code should have pull in implementation header +#endif + namespace fs = std::filesystem; // LCOV_EXCL_START |