mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
Better solution for latest commit
This commit is contained in:
parent
d4241fd8ef
commit
65b20d0685
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ class IClient : public IClientTag {
|
|||
using ClientClass = Client;
|
||||
using ServerClass = Server;
|
||||
|
||||
void *operator new(size_t sz) noexcept { for (;;); }
|
||||
void *operator new(size_t sz) noexcept = delete;
|
||||
void operator delete(void *ptr) noexcept {}
|
||||
|
||||
~IClient()
|
||||
|
|
|
@ -18,8 +18,8 @@ class IServer : public IServerTag {
|
|||
using ClientClass = Client;
|
||||
using ServerClass = Server;
|
||||
|
||||
void *operator new(size_t sz) noexcept { for (;;); }
|
||||
void operator delete(void *ptr) noexcept {}
|
||||
void *operator new(size_t sz) noexcept = delete;
|
||||
void operator delete(void *ptr) noexcept {};
|
||||
|
||||
~IServer()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue