mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
VS 2022 warning fix
This commit is contained in:
parent
ebe2d1b30f
commit
2bb845a0ca
@ -114,10 +114,10 @@ public:
|
||||
JsonAllocator() : head(nullptr) {};
|
||||
JsonAllocator(const JsonAllocator &) = delete;
|
||||
JsonAllocator &operator=(const JsonAllocator &) = delete;
|
||||
JsonAllocator(JsonAllocator &&x) : head(x.head) {
|
||||
JsonAllocator(JsonAllocator &&x) noexcept : head(x.head) {
|
||||
x.head = nullptr;
|
||||
}
|
||||
JsonAllocator &operator=(JsonAllocator &&x) {
|
||||
JsonAllocator &operator=(JsonAllocator &&x) noexcept {
|
||||
head = x.head;
|
||||
x.head = nullptr;
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user