From 477834ac049addbfdf07d859eccdde7e89e53b6e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 17 Apr 2025 01:06:08 -0500 Subject: [PATCH] [keel] Cleanup --- src/olympic/keel/include/keel/typeconv.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/olympic/keel/include/keel/typeconv.hpp b/src/olympic/keel/include/keel/typeconv.hpp index 0ac46791..e9f2c2cc 100644 --- a/src/olympic/keel/include/keel/typeconv.hpp +++ b/src/olympic/keel/include/keel/typeconv.hpp @@ -132,19 +132,19 @@ template class ConverterFunc: public BaseConverter { private: template - struct ParamExtractor { + struct ParamPack { using Src = SrcType; using Dst = DstType; }; template - static auto makeParamExtractor(ox::Error (*)(keel::Context&, S&, D&)) { - return ParamExtractor{}; + static ParamPack extractParams(ox::Error (*)(Context&, S&, D&)) { + return {}; } public: - using SrcType = typename decltype(makeParamExtractor(Func))::Src; - using DstType = typename decltype(makeParamExtractor(Func))::Dst; + using SrcType = typename decltype(extractParams(Func))::Src; + using DstType = typename decltype(extractParams(Func))::Dst; [[nodiscard]] constexpr ox::StringView srcTypeName() const noexcept final {