Sketcher: fix build failures with MSVC

This commit is contained in:
wmayer
2021-12-29 23:46:31 +01:00
committed by wwmayer
parent e8f723b99c
commit 5663651fd0
4 changed files with 15 additions and 20 deletions

View File

@@ -342,7 +342,7 @@ GeoListModel<GeometryFacadeUniquePtr>::GeoListModel(
}
}
template <>
template <> SketcherExport
GeoListModel<std::unique_ptr<const Sketcher::GeometryFacade>>::~GeoListModel()
{
// GeometryFacade is responsible for taken ownership of its pointers and deleting them.
@@ -351,8 +351,8 @@ GeoListModel<std::unique_ptr<const Sketcher::GeometryFacade>>::~GeoListModel()
// instantiate the types so that other translation units can access template constructors
template class GeoListModel<Part::Geometry *>;
template class GeoListModel<std::unique_ptr<const Sketcher::GeometryFacade>>;
template class SketcherExport GeoListModel<Part::Geometry *>;
template class SketcherExport GeoListModel<std::unique_ptr<const Sketcher::GeometryFacade>>;
} // namespace Sketcher