diff --git a/clang-tools-extra/clangd/Function.h b/clang-tools-extra/clangd/Function.h index 365e795cc5da..122a92160cd4 100644 --- a/clang-tools-extra/clangd/Function.h +++ b/clang-tools-extra/clangd/Function.h @@ -46,7 +46,7 @@ public: Ret operator()(Args... As) { assert(CallablePtr); - CallablePtr->Call(std::forward(As)...); + return CallablePtr->Call(std::forward(As)...); } private: