Remove copy/move ctor/assign definitions

Since the class is trivial, default ones are fine
This commit is contained in:
Dmitry Marakasov 2015-01-10 23:42:27 +03:00
parent da2b2441f3
commit a404f750f7

View File

@ -1,6 +1,6 @@
/* /*
libSDL2pp - C++11 bindings/wrapper for SDL2 libSDL2pp - C++11 bindings/wrapper for SDL2
Copyright (C) 2014 Dmitry Marakasov <amdmi3@amdmi3.ru> Copyright (C) 2014-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
This software is provided 'as-is', without any express or implied This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages warranty. In no event will the authors be held liable for any damages
@ -58,11 +58,6 @@ public:
ContainerRWops(C& container) : container_(container), position_(0) { ContainerRWops(C& container) : container_(container), position_(0) {
} }
ContainerRWops(const ContainerRWops<C>&) = default;
ContainerRWops& operator=(const ContainerRWops<C>&) = delete;
ContainerRWops(ContainerRWops<C>&&) noexcept = default;
ContainerRWops& operator=(ContainerRWops<C>&&) = delete;
virtual Sint64 Seek(Sint64 offset, int whence) override { virtual Sint64 Seek(Sint64 offset, int whence) override {
switch (whence) { switch (whence) {
case RW_SEEK_SET: case RW_SEEK_SET: