Commit b8eb1cbe authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

Fixes operator bool in InterfaceRequest

BUG=none
TEST=none

Change-Id: Iaa66929033aeea93fcbb31c2793f0251b3b7db8b
Reviewed-on: https://chromium-review.googlesource.com/944253Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540376}
parent 8418c66b
......@@ -54,7 +54,7 @@ class InterfaceRequest {
// Indicates whether the request currently contains a valid message pipe.
bool is_pending() const { return handle_.is_valid(); }
explicit operator bool() const { return handle_; }
explicit operator bool() const { return handle_.is_valid(); }
// Removes the message pipe from the request and returns it.
ScopedMessagePipeHandle PassMessagePipe() { return std::move(handle_); }
......
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