Add explicit
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
template <typename T>
|
||||
class SimpleTreeItem {
|
||||
public:
|
||||
SimpleTreeItem(int _type, SimpleTreeModel<T>* _model); // For the root item
|
||||
SimpleTreeItem(int _type, const QString& _key, T* _parent = nullptr);
|
||||
explicit SimpleTreeItem(int _type, SimpleTreeModel<T>* _model); // For the root item
|
||||
explicit SimpleTreeItem(int _type, const QString& _key, T* _parent = nullptr);
|
||||
explicit SimpleTreeItem(int _type, T* _parent = nullptr);
|
||||
virtual ~SimpleTreeItem();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user