Mod: Single arg ctors must be explicit

This commit is contained in:
berniev
2022-08-15 19:28:04 +10:00
committed by wwmayer
parent 3877fc62c3
commit 180edfa3cc
263 changed files with 473 additions and 473 deletions

View File

@@ -54,7 +54,7 @@ using namespace Mesh;
struct MeshPropertyLock {
MeshPropertyLock(PropertyMeshKernel* p) : prop(p)
explicit MeshPropertyLock(PropertyMeshKernel* p) : prop(p)
{ if (prop) prop->startEditing(); }
~MeshPropertyLock()
{ if (prop) prop->finishEditing(); }