AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers
BSD 3-Clause "New" or "Revised" License
2.05k stars 347 forks source link

PR/FixPointCloud4MSVC #1757

Closed AlexMWells closed 7 months ago

AlexMWells commented 7 months ago

Fixes Issue #1755: Build error on MSVC with Partio

Description

Explicitly mark unsupport/unused PointCloud copy/move constuctors and assignment operators as deleted. Change SortedPointRecord indice type from int to uint32_t and add static_cast during construction to avoid a warning.

Tests

Existing testsuite covers changes

Checklist:

AlexMWells commented 7 months ago

@lgritz , I think this PR is ready to go up (and low risk)