CTemplateMimeData: Make use of explicit on constructor

This commit is contained in:
Lioncash 2020-07-10 15:47:07 -04:00
parent b355dbe07e
commit 218bd0b33b
1 changed files with 2 additions and 2 deletions

View File

@ -10,11 +10,11 @@ class CTemplateMimeData : public QMimeData
CScriptTemplate *mpTemplate; CScriptTemplate *mpTemplate;
public: public:
CTemplateMimeData(CScriptTemplate *pTemplate) explicit CTemplateMimeData(CScriptTemplate *pTemplate)
: mpTemplate(pTemplate) : mpTemplate(pTemplate)
{} {}
inline CScriptTemplate* Template() const { return mpTemplate; } CScriptTemplate* Template() const { return mpTemplate; }
}; };
#endif // CTEMPLATEMIMEDATA_H #endif // CTEMPLATEMIMEDATA_H