Gui: Single arg ctors must be explicit (PR #7369)

This commit is contained in:
berniev
2022-08-15 12:24:41 +10:00
committed by wmayer
parent c429473a4a
commit 3877fc62c3
122 changed files with 237 additions and 237 deletions

View File

@@ -72,7 +72,7 @@ public:
std::string editSub;
std::string editElement;
Private(ViewProviderDocumentObject* vp, const char *element="")
explicit Private(ViewProviderDocumentObject* vp, const char *element="")
: ui(new Ui_TaskElementColors()), vp(vp),editElement(element)
{
vpDoc = vp->getDocument();