summaryrefslogtreecommitdiff
path: root/src/loadmechanism.cpp
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.cpp
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.cpp')
-rw-r--r--src/loadmechanism.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loadmechanism.cpp b/src/loadmechanism.cpp
index 4d06bea9..c01955f2 100644
--- a/src/loadmechanism.cpp
+++ b/src/loadmechanism.cpp
@@ -56,7 +56,7 @@ void LoadMechanism::writeHintFile(const QDir &targetDirectory)
}
-void LoadMechanism::removeHintFile(QDir &targetDirectory)
+void LoadMechanism::removeHintFile(QDir targetDirectory)
{
targetDirectory.remove("mo_path.txt");
}