forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark base::*Callback, GURL and mojo::ScopeHandleBase as noexcept movable
These types are used by search_provider_logos::LogoMetadata search_provider_logos::LogoCallbacks viz::InterprocessFramePool::PooledBuffer which are already using explicitly-defaulted ("= default") noexcept move constructors and assignment operators. This is illegal however, as C++ requires the exception specification of an explicitly-defaulted function to be compatible with the exception specification of the implicit declaration (see dcl.fct.def.default in C++11 standard). GCC considers this an error and Clang too, but only if compiling without -fno-exceptions. Bug: 843143, 819294 Change-Id: I24fb8660b3e8c7748cf6b626292ebd6ddd971643 Reviewed-on: https://chromium-review.googlesource.com/1061464 Reviewed-by: Ken Rockot <rockot@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#560076}
- Loading branch information
Showing
5 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters