0
0
Fork 0
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:
Jason Volk 2017-10-11 17:42:07 -07:00
parent 2839eb4b50
commit c44970427a
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -21,7 +21,7 @@
*/
#pragma once
#define HAVE_IRCD_STRING_H
#define HAVE_IRCD_STRINGOPS_H
//
// Misc string utilities