diff --git a/src/libs/clangsupport/clangpathwatcher.h b/src/libs/clangsupport/clangpathwatcher.h index 7a7d6ccfcf3..1130b1ab292 100644 --- a/src/libs/clangsupport/clangpathwatcher.h +++ b/src/libs/clangsupport/clangpathwatcher.h @@ -98,9 +98,9 @@ public: ClangPathWatcher(FilePathCachingInterface &pathCache, FileSystemInterface &fileSystem, ClangPathWatcherNotifier *notifier = nullptr) - : m_pathCache(pathCache) - , m_fileStatusCache(fileSystem) + : m_fileStatusCache(fileSystem) , m_fileSystem(fileSystem) + , m_pathCache(pathCache) , m_notifier(notifier) { QObject::connect(&m_fileSystemWatcher,