commit | 48d93df78a08468feb4129c0e342d30748c5d82d | [log] [tgz] |
---|---|---|
author | Anand K Mistry <amistry@chromium.org> | Thu Jun 18 00:04:22 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 18 00:04:22 2020 |
tree | fc2fdd12a679beb80aea0b124a68003b031cd757 | |
parent | 6327e43d0a721aaa2654f620b7c50b7e3d3f2bcf [diff] [blame] |
[Mojo] Replace empty constructors/destructors with the default implementation Using 'default' is the modern C++ approach used by chromium, and some analysers complain about the old style. Bug: None Change-Id: Ic531d39490f3005abb163830dfc312e1351b003a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249283 Reviewed-by: Ken Rockot <rockot@google.com> Commit-Queue: Anand K Mistry <amistry@chromium.org> Cr-Commit-Position: refs/heads/master@{#779559}
diff --git a/mojo/core/channel_fuchsia.cc b/mojo/core/channel_fuchsia.cc index 8ca1055..3154091 100644 --- a/mojo/core/channel_fuchsia.cc +++ b/mojo/core/channel_fuchsia.cc
@@ -108,7 +108,7 @@ return *this; } - ~MessageView() {} + ~MessageView() = default; const void* data() const { return static_cast<const char*>(message_->data()) + offset_;