summaryrefslogtreecommitdiffstats
path: root/logic/tools/JProfiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/tools/JProfiler.h')
-rw-r--r--logic/tools/JProfiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/tools/JProfiler.h b/logic/tools/JProfiler.h
index 88a02462..b3fa6ec7 100644
--- a/logic/tools/JProfiler.h
+++ b/logic/tools/JProfiler.h
@@ -6,7 +6,7 @@ class JProfiler : public BaseProfiler
{
Q_OBJECT
public:
- JProfiler(BaseInstance *instance, QObject *parent = 0);
+ JProfiler(InstancePtr instance, QObject *parent = 0);
protected:
void beginProfilingImpl(MinecraftProcess *process);
@@ -17,7 +17,7 @@ class JProfilerFactory : public BaseProfilerFactory
public:
QString name() const override { return "JProfiler"; }
void registerSettings(SettingsObject *settings) override;
- BaseExternalTool *createTool(BaseInstance *instance, QObject *parent = 0) override;
+ BaseExternalTool *createTool(InstancePtr instance, QObject *parent = 0) override;
bool check(QString *error) override;
bool check(const QString &path, QString *error) override;
};