Commit f5e61d69 authored by Branislav Katreniak's avatar Branislav Katreniak

capnp/Request: warn on unused result for send()

parent 8a2dcdd0
......@@ -113,7 +113,7 @@ public:
: Params::Builder(builder), hook(kj::mv(hook)) {}
inline Request(decltype(nullptr)): Params::Builder(nullptr) {}
RemotePromise<Results> send();
RemotePromise<Results> send() KJ_WARN_UNUSED_RESULT;
// Send the call and return a promise for the results.
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment