Skip to content

Commit 114bcab

Browse files
committed
Merge pull request #69 from G-Node/matryo_void
glue: invoker::invoke for void needed iseq arg
2 parents 4a20566 + 2adee1d commit 114bcab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/glue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ struct invoker{
174174
template<typename Klazz, typename Fn>
175175
struct invoker<Klazz, Fn, void> {
176176
template<typename Args, int...I>
177-
static void invoke(Fn wrapped, Args &&args, const extractor &input, infusor &output) {
177+
static void invoke(Fn wrapped, Args &&args, const extractor &input, infusor &output, iseq<I...>) {
178178
Klazz entity = input.entity<Klazz>(1);
179179
(entity.*wrapped)(matryoshka_get<I>(input, args)...);
180180
}
@@ -308,4 +308,4 @@ struct classdef {
308308

309309
}
310310

311-
#endif
311+
#endif

0 commit comments

Comments
 (0)