From c3e07cb9cb8317b67b5850e1589ba7594c76dbb4 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 24 Apr 2018 17:08:43 -0700 Subject: [PATCH] ircd: Fix allocator construction in tokens template. --- include/ircd/tokens.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/ircd/tokens.h b/include/ircd/tokens.h index bc72bbe94..a60811bd1 100644 --- a/include/ircd/tokens.h +++ b/include/ircd/tokens.h @@ -138,8 +138,7 @@ C ircd::tokens(const string_view &str, const delim &sep) { - A allocator; - return tokens(allocator, str, sep); + return tokens(A{}, str, sep); } template @@ -172,8 +171,7 @@ C ircd::tokens(const string_view &str, const delim &sep) { - A allocator; - return tokens(allocator, str, sep); + return tokens(A{}, str, sep); } template