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:45:59 +03:00
parent b9173b0588
commit 7123b32217

View File

@ -1,6 +1,6 @@
/*
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
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<S>&) = default;
StreamRWops& operator=(const StreamRWops<S>&) = delete;
StreamRWops(StreamRWops<S>&&) noexcept = default;
StreamRWops& operator=(StreamRWops<S>&&) = delete;
virtual Sint64 Seek(Sint64 offset, int whence) override {
switch (whence) {
case RW_SEEK_SET: