clang-tidy: modernize-use-equals-default

This commit is contained in:
Peter Johnson
2020-12-28 00:37:33 -08:00
parent b124f9101b
commit 67e03e625d
30 changed files with 51 additions and 51 deletions

View File

@@ -13,7 +13,7 @@ namespace cs {
class UsbCameraBuffer {
public:
UsbCameraBuffer() noexcept {}
UsbCameraBuffer() noexcept = default;
UsbCameraBuffer(UsbCameraBuffer&& other) noexcept : UsbCameraBuffer() {
swap(*this, other);
}