From 3fc2a0a7e021dc9ccbd76af18f690c836caa7a18 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 15 Aug 2018 09:58:49 -0600 Subject: [PATCH] updated intialize argv type for consistency with Qt --- openbr/openbr_plugin.cpp | 2 +- openbr/openbr_plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 4a08edc..a19018e 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1236,7 +1236,7 @@ bool br::Context::checkSDKPath(const QString &sdkPath) // Since we can't ensure that it gets deleted last, we never delete it. static QCoreApplication *application = NULL; -void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useGui) +void br::Context::initialize(int &argc, char **argv, QString sdkPath, bool useGui) { QString sep; #ifndef _WIN32 diff --git a/openbr/openbr_plugin.h b/openbr/openbr_plugin.h index 122d5aa..12a95f4 100644 --- a/openbr/openbr_plugin.h +++ b/openbr/openbr_plugin.h @@ -540,7 +540,7 @@ public: int timeRemaining() const; static bool checkSDKPath(const QString &sdkPath); - static void initialize(int &argc, char *argv[], QString sdkPath = "", bool useGui = true); + static void initialize(int &argc, char **argv, QString sdkPath = "", bool useGui = true); static void finalize(); static QString about(); static QString version(); -- libgit2 0.21.4