From 7123b3221754778392a371df1fcd0e7729451575 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 10 Jan 2015 23:45:59 +0300 Subject: [PATCH] Remove copy/move ctor/assign definitions Since the class is trivial, default ones are fine --- SDL2pp/StreamRWops.hh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/SDL2pp/StreamRWops.hh b/SDL2pp/StreamRWops.hh index aa8ca0e..4bb04a8 100644 --- a/SDL2pp/StreamRWops.hh +++ b/SDL2pp/StreamRWops.hh @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2014 Dmitry Marakasov + Copyright (C) 2014-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -119,11 +119,6 @@ public: StreamRWops(S& stream) : stream_(stream) { } - StreamRWops(const StreamRWops&) = default; - StreamRWops& operator=(const StreamRWops&) = delete; - StreamRWops(StreamRWops&&) noexcept = default; - StreamRWops& operator=(StreamRWops&&) = delete; - virtual Sint64 Seek(Sint64 offset, int whence) override { switch (whence) { case RW_SEEK_SET: