1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-07-05 11:12:49 +00:00

variant of lps_add without value

This commit is contained in:
Zeno Rogue 2025-06-24 15:41:30 +02:00
parent 246befbe8c
commit 7a17752701

View File

@ -4557,6 +4557,11 @@ template<class T, class U> void lps_add(local_parameter_set& lps, T&val, U nvalu
} }
if(found != 1) println(hlog, lps.label, " saver not found"); if(found != 1) println(hlog, lps.label, " saver not found");
} }
template<class T> void lps_add(local_parameter_set& lps, T&val) {
lps_add(lps, val, val);
}
#endif #endif
vector<void*> lps_of_type; vector<void*> lps_of_type;