Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit e3adaa7

Browse files
committed
Fix implicit instantiation of undefined template
1 parent fb94d93 commit e3adaa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bindings/em/patch.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void change_set_noop(Patch::Change &change, T const &) {}
8383
EMSCRIPTEN_BINDINGS(Patch) {
8484
emscripten::class_<Patch>("Patch")
8585
.constructor<>()
86-
.constructor<emscripten::val>(WRAP_STATIC(&constructor), emscripten::allow_raw_pointers())
86+
.constructor(WRAP_STATIC(&constructor), emscripten::allow_raw_pointers())
8787
.function("splice", splice)
8888
.function("splice", splice_with_text)
8989
.function("spliceOld", WRAP(&Patch::splice_old))

0 commit comments

Comments
 (0)