Skip to content

Commit

Permalink
Export Data3DPointsData_t class in shared library.
Browse files Browse the repository at this point in the history
We depend on the class in our code, hope it's fine to export it.
  • Loading branch information
marxin committed Aug 9, 2023
1 parent 7707b64 commit d2ae287
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions include/E57SimpleData.h
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,6 @@ namespace e57
using Data3DPointsData_d [[deprecated( "Will be removed in 4.0. Use Data3DPointsDouble." )]] =
Data3DPointsData_t<double>;

extern template struct Data3DPointsData_t<float>;
extern template struct Data3DPointsData_t<double>;

/// @brief Stores an image that is to be used only as a visual reference.
struct E57_DLL VisualReferenceRepresentation
{
Expand Down
5 changes: 0 additions & 5 deletions src/E57SimpleData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@ namespace e57
*this = Data3DPointsData_t<COORDTYPE>();
}

#if defined( _MSC_VER )
template struct E57_DLL Data3DPointsData_t<float>;
template struct E57_DLL Data3DPointsData_t<double>;
#else
template struct Data3DPointsData_t<float>;
template struct Data3DPointsData_t<double>;
#endif
} // end namespace e57

0 comments on commit d2ae287

Please sign in to comment.