File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
system/include/emscripten Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -193,12 +193,9 @@ struct __em_asm_sig_builder {};
193
193
194
194
template <typename ... Args>
195
195
struct __em_asm_sig_builder <__em_asm_type_tuple<Args...> > {
196
- static const char buffer[sizeof ...(Args) + 1 ];
196
+ inline static const char buffer[sizeof ...(Args) + 1 ] = { __em_asm_sig<Args>::value..., 0 } ;
197
197
};
198
198
199
- template <typename ... Args>
200
- const char __em_asm_sig_builder<__em_asm_type_tuple<Args...> >::buffer[] = { __em_asm_sig<Args>::value..., 0 };
201
-
202
199
// We move to type level with decltype(make_tuple(...)) to avoid double
203
200
// evaluation of arguments. Use __typeof__ instead of decltype, though,
204
201
// because the header should be able to compile with clang's -std=c++03.
You can’t perform that action at this time.
0 commit comments