mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd: Minor cleanup.
This commit is contained in:
parent
2839eb4b50
commit
c44970427a
2 changed files with 3 additions and 3 deletions
|
@ -297,12 +297,12 @@ struct ircd::allocator::node<T>::allocator
|
|||
template<class U, class... args>
|
||||
void construct(U *p, args&&... a)
|
||||
{
|
||||
new(p) U(std::forward<args>(a)...);
|
||||
new (p) U(std::forward<args>(a)...);
|
||||
}
|
||||
|
||||
void construct(pointer p, const_reference val)
|
||||
{
|
||||
new(p) T(val);
|
||||
new (p) T(val);
|
||||
}
|
||||
|
||||
pointer allocate(const size_type &n, const const_pointer &hint = nullptr)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
#define HAVE_IRCD_STRING_H
|
||||
#define HAVE_IRCD_STRINGOPS_H
|
||||
|
||||
//
|
||||
// Misc string utilities
|
||||
|
|
Loading…
Reference in a new issue