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 {