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