From 4a81c39d94b6877f7753896218467ff77b8d7f6f Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 30 Nov 2026 23:33:26 +0100 Subject: class -> typename --- server/src/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/config.cpp') diff --git a/server/src/config.cpp b/server/src/config.cpp index ec49aeb..4454781 100644 --- a/server/src/config.cpp +++ b/server/src/config.cpp @@ -80,7 +80,7 @@ public: } } - template + template auto allow_at(std::string_view key) -> std::optional { visited_.emplace(key); @@ -103,7 +103,7 @@ public: } } - template + template auto expect_at(std::string_view key) -> T { if (auto&& mv = allow_at(key); mv) -- cgit v1.3.1