From 4fc3ee8e5b9ab2ed611c64f57dc045f018808c8f Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 2 Jul 2019 14:15:33 +0200 Subject: [PATCH] clangsupport: Fix compiler warning about initialization re-ordering Change-Id: I330940e05fe29632f7cb0628151fdec11708b826 Reviewed-by: Christian Stenger --- src/libs/clangsupport/clangpathwatcher.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,