DescriptionEnable noexcept on Windows, use for a few move constructors.
MSVC complains if you use noexcept with no exception handling mode specified (as we do).
This code disables the warning. noexcept on move constructors allows better optimizations
in some cases.
http://en.cppreference.com/w/cpp/language/noexcept_spec
Updates a few common classes' move constructors to use this.
Review-Url: https://codereview.chromium.org/2771643002
Cr-Commit-Position: refs/heads/master@{#458956}
Committed: https://chromium.googlesource.com/chromium/src/+/76aac97386e2788241161420c5e7e0bfee16f88c
Patch Set 1 #Patch Set 2 : jni #
Total comments: 1
Patch Set 3 : No flat_map #
Messages
Total messages: 29 (14 generated)
|