Commit deb72f5e authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #352 from katreniak/bka-warnUnusedResultForCapnpPromiseSend

capnp/Request: warn on unused result for send()
parents e9cce1dc f5e61d69
......@@ -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