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 a909df7f39
commit 6953310116
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(); }