diff options
-rw-r--r-- | clang/lib/Format/Format.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index ecc2bb7b843..0cd5398751b 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -1027,8 +1027,8 @@ public: /*LastStartColumn=*/Env.getLastStartColumn()); for (const auto &R : Whitespaces.generateReplacements()) if (Result.add(R)) - return {Result, 0}; - return {Result, Penalty}; + return std::make_pair(Result, 0); + return std::make_pair(Result, Penalty); } private: |