mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 13:11:49 +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 ClientClass = Client;
|
||||||
using ServerClass = Server;
|
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 {}
|
void operator delete(void *ptr) noexcept {}
|
||||||
|
|
||||||
~IClient()
|
~IClient()
|
||||||
|
|
|
@ -18,8 +18,8 @@ class IServer : public IServerTag {
|
||||||
using ClientClass = Client;
|
using ClientClass = Client;
|
||||||
using ServerClass = Server;
|
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 {}
|
void operator delete(void *ptr) noexcept {};
|
||||||
|
|
||||||
~IServer()
|
~IServer()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue