Fix clang-cl build.
I missed the return value of operator=. Change-Id: Ic8d6ec8feb47e922be56f5fba7aff019c322d6fa Reviewed-on: https://boringssl-review.googlesource.com/28190 Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: Steven Valdez <svaldez@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
26aa7c88d1
commit
1d339558ac
@ -450,7 +450,10 @@ class ScopedWSAEVENT {
|
||||
~ScopedWSAEVENT() { reset(); }
|
||||
|
||||
ScopedWSAEVENT &operator=(const ScopedWSAEVENT &) = delete;
|
||||
ScopedWSAEVENT &operator=(ScopedWSAEVENT &&other) { reset(other.release()); }
|
||||
ScopedWSAEVENT &operator=(ScopedWSAEVENT &&other) {
|
||||
reset(other.release());
|
||||
return *this;
|
||||
}
|
||||
|
||||
explicit operator bool() const { return event_ != WSA_INVALID_EVENT; }
|
||||
WSAEVENT get() const { return event_; }
|
||||
|
Loading…
Reference in New Issue
Block a user