1
0
Fork 0
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:
TuxSH 2018-11-06 17:17:10 +01:00 committed by Michael Scire
parent d4241fd8ef
commit 65b20d0685
2 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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()
{