Kernel: Address Feedback
This commit is contained in:
parent
0901c33753
commit
024b5fe91a
3 changed files with 11 additions and 6 deletions
|
@ -52,7 +52,6 @@ public:
|
|||
using const_reference = const T&;
|
||||
|
||||
public:
|
||||
|
||||
pointer address(reference r) {
|
||||
return std::addressof(r);
|
||||
}
|
||||
|
@ -62,11 +61,11 @@ public:
|
|||
}
|
||||
|
||||
pointer allocate(size_type n) {
|
||||
return static_cast<pointer>(::operator new(n, std::align_val_t{Align}));
|
||||
return static_cast<pointer>(::operator new (n, std::align_val_t{Align}));
|
||||
}
|
||||
|
||||
void deallocate(pointer p, size_type) {
|
||||
::operator delete(p, std::align_val_t{Align});
|
||||
::operator delete (p, std::align_val_t{Align});
|
||||
}
|
||||
|
||||
void construct(pointer p, const value_type& wert) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue