summaryrefslogtreecommitdiff
path: root/src/loadmechanism.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-10-17 19:05:00 +0100
committerThomas Tanner <trtanner@btinternet.com>2015-10-17 19:05:00 +0100
commit0f8ae514592c46dc8465bc5830d7a830b68affe2 (patch)
treea91d30571a7c00f0e467addc27e3b4f18e9c99af /src/loadmechanism.h
parentdfdf80417e6b4a6b1a353810ba473aa70e0c9abd (diff)
Added support for include-what-you-use in a very simplistic fashion to the Scons build. This isn't exactly production ready because the qt headers are a nightmarish web of interdependencies but it's useful for checking.
I've also removed a few unused include files it detected and corrected some things that upset clang in a big way.
Diffstat (limited to 'src/loadmechanism.h')
-rw-r--r--src/loadmechanism.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loadmechanism.h b/src/loadmechanism.h
index 43a8dd6c..c04473ab 100644
--- a/src/loadmechanism.h
+++ b/src/loadmechanism.h
@@ -91,7 +91,7 @@ private:
void writeHintFile(const QDir &targetDirectory);
// remove the hint file if it exists. does nothing if the file doesn't exist
- void removeHintFile(QDir &targetDirectory);
+ void removeHintFile(QDir targetDirectory);
// compare the two files by md5-hash, returns true if they are identical
bool hashIdentical(const QString &fileNameLHS, const QString &fileNameRHS);