File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class RTCResult {
6161 explicit RTCResult (const char *ErrorMessage)
6262 : Failed{true }, BundleInfo{}, ErrorMessage{ErrorMessage} {}
6363
64- explicit RTCResult (RTCBundleInfo &&BundleInfo, const char *BuildLog)
64+ RTCResult (RTCBundleInfo &&BundleInfo, const char *BuildLog)
6565 : Failed{false }, BundleInfo{std::move (BundleInfo)},
6666 ErrorMessage{BuildLog} {}
6767
Original file line number Diff line number Diff line change @@ -180,10 +180,9 @@ class ClangDiagnosticWrapper {
180180
181181public:
182182 ClangDiagnosticWrapper (std::string &LogString, DiagnosticOptions *DiagOpts)
183- : LogStream(LogString) {
184-
185- LogPrinter = std::make_unique<TextDiagnosticPrinter>(LogStream, DiagOpts);
186- }
183+ : LogStream(LogString),
184+ LogPrinter (
185+ std::make_unique<TextDiagnosticPrinter>(LogStream, DiagOpts)) {}
187186
188187 clang::TextDiagnosticPrinter *consumer () { return LogPrinter.get (); }
189188
You can’t perform that action at this time.
0 commit comments