commit | 6a1d40f2c04f10e9f48a8d1a92470d374d3d3358 | [log] [tgz] |
---|---|---|
author | Alex Dale <sigquit@google.com> | Fri Aug 10 05:54:47 2018 |
committer | chrome-bot <chrome-bot@chromium.org> | Sat Aug 11 05:44:15 2018 |
tree | 690271fb2a1b7427d55777377c1346afb24ab44b | |
parent | dc0f260466c76c2ece177e5c67c0d3b02956bee1 [diff] |
shill: Added move operators to ByteString and IPAddress. This change address move assignment operator and move constructor to ByteString and to IPAddress. ByteStrings can become very large and copying them can become expensive operations. IPAddress can similarly benefit. By providing move operators to them, they can be efficiently passed. TEST=unittest BUG=chromium:863260 Change-Id: I8faf0e06d5cadabd6407bb544ff25e73ee0a9321 Reviewed-on: https://chromium-review.googlesource.com/1170562 Commit-Ready: Alex Dale <sigquit@google.com> Tested-by: Alex Dale <sigquit@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org>