From b000ae9e41b8699d1c7d6eefa0441ee05c970d25 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 13 Mar 2025 19:43:56 +0800 Subject: fix: NONEWLINE more explicit fixes a problem where all of socket wrote response is using NONE fmt(944b18bde52778b32c31dc23f3d90fc17b94794f) so all of them don't have \n --- src/session.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/session.hpp') diff --git a/src/session.hpp b/src/session.hpp index 65aa7a0..77687f9 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -25,6 +25,8 @@ class CSession { bool write(const std::string &msg); template bool write(std::format_string fmt, Args &&...args); + template + bool write(eFormatType type, std::format_string fmt, Args &&...args); void run(); -- cgit v1.2.3