diff options
Diffstat (limited to 'server/src/config.cpp')
| -rw-r--r-- | server/src/config.cpp | 4 |
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) |