mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Remove copy/move ctor/assign definitions
Since the class is trivial, default ones are fine
This commit is contained in:
parent
b9173b0588
commit
7123b32217
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user