summaryrefslogtreecommitdiff
path: root/AK/kmalloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/kmalloc.cpp')
-rw-r--r--AK/kmalloc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/kmalloc.cpp b/AK/kmalloc.cpp
index d6635f9ee2..cba00d3607 100644
--- a/AK/kmalloc.cpp
+++ b/AK/kmalloc.cpp
@@ -22,7 +22,7 @@ void* operator new(size_t size)
return ptr;
}
-void* operator new(size_t size, const std::nothrow_t&) noexcept
+void* operator new(size_t size, std::nothrow_t const&) noexcept
{
return malloc(size);
}
@@ -44,7 +44,7 @@ void* operator new[](size_t size)
return ptr;
}
-void* operator new[](size_t size, const std::nothrow_t&) noexcept
+void* operator new[](size_t size, std::nothrow_t const&) noexcept
{
return malloc(size);
}