Skip to content

Explicitly delete copy ctor for move-only classes

T.J. Corona requested to merge tjcorona/smtk:msvc2019-vous-renard-ruse into master

When a class contains a member field that is move-only, MSVC2019 does not delete the implicit copy constructor and assignment operator, preferring instead to error out with a cryptic message. This MR explicitly removes the methods that should have been implicitly removed by the compiler.

@john.tourtellott @aron.helser

Merge request reports

Loading