mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Remove copy/move ctor/assign definitions
Since the class is trivial, default ones are fine
This commit is contained in:
parent
da2b2441f3
commit
a404f750f7
@ -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
|
||||
@ -58,11 +58,6 @@ public:
|
||||
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 {
|
||||
switch (whence) {
|
||||
case RW_SEEK_SET:
|
||||
|
Loading…
x
Reference in New Issue
Block a user