Commit bdbe119d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Git: Remove unnecessary destructor



Change-Id: Ib4041924e1544d1ec2c5837c62c23554c6be0e91
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 518a44a7
...@@ -672,10 +672,6 @@ GitClient::GitClient(GitSettings *settings) : ...@@ -672,10 +672,6 @@ GitClient::GitClient(GitSettings *settings) :
.arg(QCoreApplication::applicationPid()); .arg(QCoreApplication::applicationPid());
} }
GitClient::~GitClient()
{
}
QString GitClient::findRepositoryForDirectory(const QString &dir) const QString GitClient::findRepositoryForDirectory(const QString &dir) const
{ {
if (dir.isEmpty() || dir.endsWith(QLatin1String("/.git")) if (dir.isEmpty() || dir.endsWith(QLatin1String("/.git"))
......
...@@ -136,7 +136,6 @@ public: ...@@ -136,7 +136,6 @@ public:
static const char *stashNamePrefix; static const char *stashNamePrefix;
explicit GitClient(GitSettings *settings); explicit GitClient(GitSettings *settings);
~GitClient();
Utils::FileName gitExecutable(bool *ok = 0, QString *errorMessage = 0) const; Utils::FileName gitExecutable(bool *ok = 0, QString *errorMessage = 0) const;
unsigned gitVersion(QString *errorMessage = 0) const; unsigned gitVersion(QString *errorMessage = 0) const;
......
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