Fix warning C4275

It's not enough to disable this warning by adding /wd4257 at build time because it's triggered when the library is consumed.
This commit is contained in:
Osyotr
2025-10-03 14:00:20 +00:00
committed by Thomas Krijnen
parent 02713dbd39
commit 066326ab3b
9 changed files with 61 additions and 17 deletions
+8
View File
@@ -7,6 +7,14 @@
using namespace ifcopenshell::geometry;
const char* ifcopenshell::not_implemented_error::what() const noexcept {
return "Not implemented.";
}
const char* ifcopenshell::not_supported_error::what() const noexcept {
return "Not supported.";
}
bool ifcopenshell::geometry::kernels::AbstractKernel::convert(const taxonomy::ptr item, IfcGeom::ConversionResults& results) {
if (settings_.get<settings::CacheShapes>().get()) {
auto it = cache_.find(item);