alignment: explicitly include <new> after 723edb4c06

In file included from src/core/hle/kernel/memory/page_table.cpp:5:
src/./common/alignment.h:67:68: error: no member named 'align_val_t' in namespace 'std'
        return static_cast<T*>(::operator new (n * sizeof(T), std::align_val_t{Align}));
                                                              ~~~~~^
src/./common/alignment.h:71:51: error: no member named 'align_val_t' in namespace 'std'
        ::operator delete (p, n * sizeof(T), std::align_val_t{Align});
                                             ~~~~~^
This commit is contained in:
Jan Beich 2020-07-18 23:06:13 +00:00
parent 9943a478fe
commit db43b37e15
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#pragma once #pragma once
#include <cstddef> #include <cstddef>
#include <new>
#include <type_traits> #include <type_traits>
namespace Common { namespace Common {