App: Single arg ctors must be explicit
This commit is contained in:
@@ -476,7 +476,7 @@ PyObject* DocumentObjectPy::getSubObject(PyObject *args, PyObject *keywds)
|
||||
Py::Object obj;
|
||||
Py::Object pyObj;
|
||||
Base::Matrix4D mat;
|
||||
SubInfo(const Base::Matrix4D &mat) : sobj(nullptr), mat(mat){}
|
||||
explicit SubInfo(const Base::Matrix4D &mat) : sobj(nullptr), mat(mat){}
|
||||
};
|
||||
|
||||
Base::Matrix4D mat;
|
||||
|
||||
Reference in New Issue
Block a user