diff --git a/tour.cpp b/tour.cpp index 68490278..3bf9c673 100644 --- a/tour.cpp +++ b/tour.cpp @@ -81,6 +81,8 @@ template void slide_backup(T& what, U value) { restorers.push_back([&what, backup] { what = backup; }); what = value; } + +template void slide_backup(T& what) { slide_backup(what, what); } #endif EX void on_restore(const reaction_t& t) {