From c44970427a3fe17f253e1c83b3d20452cce1bcd8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 11 Oct 2017 17:42:07 -0700 Subject: [PATCH] ircd: Minor cleanup. --- include/ircd/allocator.h | 4 ++-- include/ircd/stringops.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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