diff --git a/src/Editor/WorldEditor/CTemplateMimeData.h b/src/Editor/WorldEditor/CTemplateMimeData.h index e6d94e3b..6ea57cb5 100644 --- a/src/Editor/WorldEditor/CTemplateMimeData.h +++ b/src/Editor/WorldEditor/CTemplateMimeData.h @@ -10,11 +10,11 @@ class CTemplateMimeData : public QMimeData CScriptTemplate *mpTemplate; public: - CTemplateMimeData(CScriptTemplate *pTemplate) + explicit CTemplateMimeData(CScriptTemplate *pTemplate) : mpTemplate(pTemplate) {} - inline CScriptTemplate* Template() const { return mpTemplate; } + CScriptTemplate* Template() const { return mpTemplate; } }; #endif // CTEMPLATEMIMEDATA_H