| commit | eafb56cbab02dbf11071efbc56b4a7098bd40dc7 | [log] [tgz] |
|---|---|---|
| author | Jim Stichnoth <stichnot@chromium.org> | Mon Jun 22 10:35:22 2015 -0700 |
| committer | Jim Stichnoth <stichnot@chromium.org> | Mon Jun 22 10:35:22 2015 -0700 |
| tree | 11c0b18c21eecf0a8c4a1b93cdc6be73ad38b23a | |
| parent | 253dc8a870cbd144ba217a44efbd07e6bcd71e97 [diff] |
Subzero: Use C++11 member initializers where practical.
Also change the pattern "foo() {}" into "foo() = default;" for ctors and dtors.
Generally avoids initializing unique_ptr<> members to nullptr in a .h file, because that requires knowing the definition of the underlying class which may not be available to all includers.
BUG= none
R=jpp@chromium.org
Review URL: https://codereview.chromium.org/1197223002