summaryrefslogtreecommitdiffstats
path: root/src/leeds
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-09 12:24:09 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-09 12:24:09 +0100
commit9a145ab15f3be0a6d2eb1f37edaff698a69823b4 (patch)
tree728072b002e5c3ded25158483d05de00f17a319e /src/leeds
parentSector sizes (diff)
downloadre3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.tar
re3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.tar.gz
re3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.tar.bz2
re3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.tar.lz
re3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.tar.xz
re3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.tar.zst
re3-9a145ab15f3be0a6d2eb1f37edaff698a69823b4.zip
Diffstat (limited to 'src/leeds')
-rw-r--r--src/leeds/base/memoryManager.cpp4
-rw-r--r--src/leeds/base/memoryManager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/leeds/base/memoryManager.cpp b/src/leeds/base/memoryManager.cpp
index 20604299..57e7d954 100644
--- a/src/leeds/base/memoryManager.cpp
+++ b/src/leeds/base/memoryManager.cpp
@@ -64,12 +64,12 @@ void* operator new[](size_t size)
return base::cMainMemoryManager::Instance()->Allocate(size);
}
-void operator delete(void* buf)
+void operator delete(void* buf) noexcept
{
base::cMainMemoryManager::Instance()->Free(buf);
}
-void operator delete[](void* buf)
+void operator delete[](void* buf) noexcept
{
base::cMainMemoryManager::Instance()->Free(buf);
} \ No newline at end of file
diff --git a/src/leeds/base/memoryManager.h b/src/leeds/base/memoryManager.h
index a4b1beac..91124cd1 100644
--- a/src/leeds/base/memoryManager.h
+++ b/src/leeds/base/memoryManager.h
@@ -35,5 +35,5 @@ namespace base
void* operator new(size_t size);
void* operator new[](size_t size);
-void operator delete(void* buf);
-void operator delete[](void* buf); \ No newline at end of file
+void operator delete(void* buf) noexcept;
+void operator delete[](void* buf) noexcept; \ No newline at end of file