Commit c1251771 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by Orgad Shaneh
Browse files

JsonWizardPageFactory: deinline dtor

It saves 2 copies. Similar to 184695be



Change-Id: I2a70e4a570af54fd0be5bb6bc198cff4f5e91317
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 89b3d2f2
......@@ -40,6 +40,9 @@ namespace ProjectExplorer {
// JsonWizardPageFactory:
// --------------------------------------------------------------------
JsonWizardPageFactory::~JsonWizardPageFactory()
{ }
void JsonWizardPageFactory::setTypeIdsSuffixes(const QStringList &suffixes)
{
m_typeIds = Utils::transform(suffixes, [](const QString &suffix) {
......
......@@ -46,7 +46,7 @@ class JsonWizard;
class PROJECTEXPLORER_EXPORT JsonWizardPageFactory
{
public:
virtual ~JsonWizardPageFactory() { }
virtual ~JsonWizardPageFactory();
bool canCreate(Core::Id typeId) const { return m_typeIds.contains(typeId); }
QList<Core::Id> supportedIds() const { return m_typeIds; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment