summaryrefslogtreecommitdiff
path: root/AK/Vector.h
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2021-09-19 16:33:38 -0600
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-09-20 00:39:46 +0000
commit61ad239ee07c9c2db37df93ca43f0d168c973099 (patch)
treed3f984c9c60b5eccef5ed3fcb56d2bcad8d205ee /AK/Vector.h
parentda87497e61a8070250b45ae7622cdc998c34202e (diff)
downloadserenity-61ad239ee07c9c2db37df93ca43f0d168c973099.zip
AK: Remove unnecessary include of <new> for non-`__serenity__` builds
We already include `<new>` in AK/kmalloc.h when KERNEL is not defined, which applies to all non-`__serenity__` builds.
Diffstat (limited to 'AK/Vector.h')
-rw-r--r--AK/Vector.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/AK/Vector.h b/AK/Vector.h
index 33908c81fa..f903059c88 100644
--- a/AK/Vector.h
+++ b/AK/Vector.h
@@ -19,10 +19,6 @@
#include <AK/kmalloc.h>
#include <initializer_list>
-#ifndef __serenity__
-# include <new>
-#endif
-
namespace AK {
namespace Detail {