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

@@ -48,7 +48,7 @@ class VideoProperty {
kEnum = CS_PROP_ENUM
};
VideoProperty() {}
VideoProperty() = default;
std::string GetName() const;
@@ -124,7 +124,7 @@ class VideoSource {
kConnectionForceClose = CS_CONNECTION_FORCE_CLOSE
};
VideoSource() noexcept {}
VideoSource() noexcept = default;
VideoSource(const VideoSource& source);
VideoSource(VideoSource&& other) noexcept;
VideoSource& operator=(VideoSource other) noexcept;
@@ -733,7 +733,7 @@ class VideoSink {
kCv = CS_SINK_CV
};
VideoSink() noexcept {}
VideoSink() noexcept = default;
VideoSink(const VideoSink& sink);
VideoSink(VideoSink&& sink) noexcept;
VideoSink& operator=(VideoSink other) noexcept;
@@ -1008,7 +1008,7 @@ class VideoEvent : public RawEvent {
*/
class VideoListener {
public:
VideoListener() {}
VideoListener() = default;
/**
* Create an event listener.