VS 2022 warning fix
This commit is contained in:
parent
ebe2d1b30f
commit
2bb845a0ca
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue