commit | 6fe52aa20e9426e16aa7204b0c5426895eb1c629 | [log] [tgz] |
---|---|---|
author | Chris Watkins <[email protected]> | Tue Nov 28 03:24:05 2017 |
committer | Commit Bot <[email protected]> | Tue Nov 28 03:24:05 2017 |
tree | e2e1f359b8795112d19071351a107f45c1debd6d | |
parent | bcfb895bd39c421db37531d48accf340b4c0440f [diff] [blame] |
Run clang-tidy modernize-use-equals-{delete,default} on //remoting See the bugs and cxx post for justification and details: https://groups.google.com/a/chromium.org/forum/#!topic/cxx/RkOHzIK6Tq8 This change was done using clang-tidy as described here: https://chromium.googlesource.com/chromium/src/+/lkcr/docs/clang_tidy.md In some cases the the tool leaves behind a string of commas where it replaced a member initializer list (https://bugs.llvm.org/show_bug.cgi?id=35051). They were cleaned up with: git diff --name-only | \ xargs sed -E -i 's/(^\s*|\)\s*):[ ,]*= default/\1 = default/' BUG=778959,778957 Change-Id: I3805211c70d2c2340afa4d6d956339d1b25751fc Reviewed-on: https://chromium-review.googlesource.com/789728 Reviewed-by: Sergey Ulanov <[email protected]> Commit-Queue: Chris Watkins <[email protected]> Cr-Commit-Position: refs/heads/master@{#519543}
diff --git a/remoting/protocol/negotiating_host_authenticator.cc b/remoting/protocol/negotiating_host_authenticator.cc index c7b098e..70c6e64f4 100644 --- a/remoting/protocol/negotiating_host_authenticator.cc +++ b/remoting/protocol/negotiating_host_authenticator.cc
@@ -75,7 +75,7 @@ return result; } -NegotiatingHostAuthenticator::~NegotiatingHostAuthenticator() {} +NegotiatingHostAuthenticator::~NegotiatingHostAuthenticator() = default; void NegotiatingHostAuthenticator::ProcessMessage( const buzz::XmlElement* message,