From 63fb39eeeda536661f57ba26802d1e56f599489c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sun, 17 Jul 2016 19:24:51 +0000 Subject: [PATCH] PR28589: attempt to work around MSVC rejects-valid. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275727 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/ChainedIncludesSource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Frontend/ChainedIncludesSource.cpp b/lib/Frontend/ChainedIncludesSource.cpp index ec3207ab8f..708e262de6 100644 --- a/lib/Frontend/ChainedIncludesSource.cpp +++ b/lib/Frontend/ChainedIncludesSource.cpp @@ -66,7 +66,8 @@ class ChainedIncludesSource public: ChainedIncludesSource(std::vector> CIs, IntrusiveRefCntPtr FinalReader) - : ChainedIncludesSourceMembers{{std::move(CIs)}, std::move(FinalReader)}, + : ChainedIncludesSourceMembers(ChainedIncludesSourceMembers{ + {std::move(CIs)}, std::move(FinalReader)}), MultiplexExternalSemaSource(Impl, *this->FinalReader) {} }; } -- 2.40.0