Autotools: Modernize

* Use pragma once
* Make sure overrides are everywhere
* Clean up code here and there
* Remove useless code from initializer lists

Change-Id: I9c285a803ea36cb32d14b3335757fd4b57f27d02
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2016-02-03 17:21:12 +01:00
parent 9b3016c2e4
commit 063b9775a9
26 changed files with 83 additions and 198 deletions

View File

@@ -25,8 +25,7 @@
**
****************************************************************************/
#ifndef MAKEFILEPARSERTHREAD_H
#define MAKEFILEPARSERTHREAD_H
#pragma once
#include "makefileparser.h"
@@ -131,7 +130,7 @@ private:
MakefileParser m_parser; ///< Is not accessible outside the thread
mutable QMutex m_mutex;
bool m_hasError; ///< Return value for MakefileParserThread::hasError()
bool m_hasError = false; ///< Return value for MakefileParserThread::hasError()
QString m_executable; ///< Return value for MakefileParserThread::executable()
QStringList m_sources; ///< Return value for MakefileParserThread::sources()
QStringList m_makefiles; ///< Return value for MakefileParserThread::makefiles()
@@ -143,7 +142,3 @@ private:
} // namespace Internal
} // namespace AutotoolsProjectManager
#endif // MAKEFILEPARSERTHREAD_H