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

Commit

Permalink
Fix implicit instantiation of undefined template
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Dec 5, 2020
1 parent 718fa18 commit 4d5a6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/em/patch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void change_set_noop(Patch::Change &change, T const &) {}
EMSCRIPTEN_BINDINGS(Patch) {
emscripten::class_<Patch>("Patch")
.constructor<>()
.constructor<emscripten::val>(WRAP_STATIC(&constructor), emscripten::allow_raw_pointers())
.constructor(WRAP_STATIC(&constructor), emscripten::allow_raw_pointers())
.function("splice", splice)
.function("splice", splice_with_text)
.function("spliceOld", WRAP(&Patch::splice_old))
Expand Down

0 comments on commit 4d5a6fc

Please sign in to comment.