1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-11 08:30:55 +00:00

Corrects recursive call.

This commit is contained in:
Thomas Harte 2021-01-16 21:50:48 -05:00
parent cd6ac51aa6
commit 8bd471fa3c

View File

@ -60,7 +60,7 @@ class Executor {
template<int operation, int addressing_mode> void fill_operation(Action::Performer *target) {
*target = &Executor::perform<Operation(operation), AddressingMode(addressing_mode)>;
if constexpr (addressing_mode+1 < MaxAddressingMode) {
fill<operation, addressing_mode+1>(target + 1);
fill_operation<operation, addressing_mode+1>(target + 1);
}
}