[Orc][RPC] Remove redundant braces. NFC.

llvm-svn: 293410
This commit is contained in:
Lang Hames 2017-01-29 04:09:01 +00:00
parent dc0464c274
commit 6374877774
1 changed files with 2 additions and 2 deletions

View File

@ -1186,9 +1186,9 @@ public:
typename AltRetT = typename Func::ReturnType>
typename detail::ResultTraits<AltRetT>::ErrorReturnType
callB(const ArgTs &... Args) {
if (auto FutureResOrErr = callNB<Func>(Args...)) {
if (auto FutureResOrErr = callNB<Func>(Args...))
return FutureResOrErr->get();
} else
else
return FutureResOrErr.takeError();
}