Skip to content

Commit 738e6c4

Browse files
ctx
1 parent 95c2d01 commit 738e6c4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

include/xsimd/arch/xsimd_rvv.hpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,9 @@
135135
template <class Ret, class... Args> \
136136
struct impl<KEY, Ret(Args...)> \
137137
{ \
138-
using ctx = ctx<KEY>; \
139138
constexpr Ret operator()(Args... args) const noexcept \
140139
{ \
141-
return CALLEE(args..., ctx::vl); \
140+
return CALLEE(args..., ctx<KEY>::vl); \
142141
}; \
143142
};
144143
#define XSIMD_RVV_WRAPPER_NOVL(KEY, CALLEE, ...) \
@@ -154,20 +153,18 @@
154153
template <class Ret, class First, class... Args> \
155154
struct impl<KEY, Ret(First, Args...)> \
156155
{ \
157-
using ctx = ctx<KEY>; \
158156
constexpr Ret operator()(First, Args... args) const noexcept \
159157
{ \
160-
return CALLEE(args..., ctx::vl); \
158+
return CALLEE(args..., ctx<KEY>::vl); \
161159
}; \
162160
};
163161
#define XSIMD_RVV_WRAPPER_DROP_1ST_CUSTOM_ARGS(KEY, CALLEE, SIGNATURE, ...) \
164162
template <class Ret, class First, class... Args> \
165163
struct impl<KEY, Ret(First, Args...)> \
166164
{ \
167-
using ctx = ctx<KEY>; \
168165
constexpr Ret operator()(First, Args... args) const noexcept \
169166
{ \
170-
return CALLEE(__VA_ARGS__, ctx::vl); \
167+
return CALLEE(__VA_ARGS__, ctx<KEY>::vl); \
171168
}; \
172169
};
173170
#define XSIMD_RVV_WRAPPER_DROP_1ST_CUSTOM_ARGS_NOVL(KEY, CALLEE, SIGNATURE, ...) \

0 commit comments

Comments
 (0)