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.
Reland of https://codereview.chromium.org/2771643002 with landmine. There were some
reports of PCH headers not getting updated and the warning change no taking effect.
I investigated briefly but could not see why PCH dependencies are incorrect.
Review-Url: https://codereview.chromium.org/2769283002
Cr-Commit-Position: refs/heads/master@{#459455}
Committed: https://chromium.googlesource.com/chromium/src/+/f78cc27d15ccbd1fd0c5c93aa03b939cd89b9b89
Patch Set 1 : Original landing #Patch Set 2 : Landmine #
Messages
Total messages: 13 (6 generated)
|