diff --git a/include/ircd/allocator.h b/include/ircd/allocator.h index cd33196c2..5afecc070 100644 --- a/include/ircd/allocator.h +++ b/include/ircd/allocator.h @@ -297,12 +297,12 @@ struct ircd::allocator::node::allocator template void construct(U *p, args&&... a) { - new(p) U(std::forward(a)...); + new (p) U(std::forward(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) diff --git a/include/ircd/stringops.h b/include/ircd/stringops.h index 018d8abd8..ae9c9e100 100644 --- a/include/ircd/stringops.h +++ b/include/ircd/stringops.h @@ -21,7 +21,7 @@ */ #pragma once -#define HAVE_IRCD_STRING_H +#define HAVE_IRCD_STRINGOPS_H // // Misc string utilities