summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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