Gui: Single arg ctors must be explicit (PR #7369)
This commit is contained in:
@@ -311,7 +311,7 @@ struct PropertyView::PropInfo
|
||||
|
||||
struct PropertyView::PropFind {
|
||||
const PropInfo& item;
|
||||
PropFind(const PropInfo& item) : item(item) {}
|
||||
explicit PropFind(const PropInfo& item) : item(item) {}
|
||||
bool operator () (const PropInfo& elem) const
|
||||
{
|
||||
return (elem.propId == item.propId) &&
|
||||
|
||||
Reference in New Issue
Block a user