From 9315f519649d505c38c180feb9f2797b0a6b0145 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Fri, 4 Oct 2024 02:10:25 +0100 Subject: [PATCH] fmt: Remove template type from format_target::append --- src/core/format.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/format.hpp b/src/core/format.hpp index 4ddd58fa1e1..fc91aeaedcf 100644 --- a/src/core/format.hpp +++ b/src/core/format.hpp @@ -108,11 +108,10 @@ struct format_target { this->target.push_back(c); } - template - void append(const U* begin, const U* end) + void append(const char* begin, const char* end) { if (has_overflowed()) return; - this->target.append(begin, end); + this->target.append(begin, end); } void append(std::string_view str) { this->append(str.begin(), str.end()); }