summaryrefslogtreecommitdiffstats
path: root/server/src/config.cpp
diff options
context:
space:
mode:
authorRutger Broekhoff2026-11-30 23:33:26 +0100
committerRutger Broekhoff2026-11-30 23:33:26 +0100
commit4a81c39d94b6877f7753896218467ff77b8d7f6f (patch)
treef046f52f4f81e9951b7531d795c169a16e7e6e54 /server/src/config.cpp
parent7bba7176194c4d1d9c7066f8eda7a94491d924e6 (diff)
downloadroutemon-4a81c39d94b6877f7753896218467ff77b8d7f6f.tar.gz
routemon-4a81c39d94b6877f7753896218467ff77b8d7f6f.zip
class -> typename
Diffstat (limited to 'server/src/config.cpp')
-rw-r--r--server/src/config.cpp4
1 files changed, 2 insertions, 2 deletions
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:
80 } 80 }
81 } 81 }
82 82
83 template <class T> 83 template <typename T>
84 auto allow_at(std::string_view key) -> std::optional<T> 84 auto allow_at(std::string_view key) -> std::optional<T>
85 { 85 {
86 visited_.emplace(key); 86 visited_.emplace(key);
@@ -103,7 +103,7 @@ public:
103 } 103 }
104 } 104 }
105 105
106 template <class T> 106 template <typename T>
107 auto expect_at(std::string_view key) -> T 107 auto expect_at(std::string_view key) -> T
108 { 108 {
109 if (auto&& mv = allow_at<T>(key); mv) 109 if (auto&& mv = allow_at<T>(key); mv)