summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 21:39:37 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 21:39:37 -0400
commit6b2cbe6c00c1b008e3145c1adf6096640f4e7bbd (patch)
tree6c53b7bdc207f7acb024ccdcec64ca2c64211050 /include
parent82699138982bf177366c52757e888d7ca3f04b66 (diff)
downloadlib94-6b2cbe6c00c1b008e3145c1adf6096640f4e7bbd.tar.gz
template single_step and executors on whether to update address sets to improve performance in non-gui programs
Diffstat (limited to 'include')
-rw-r--r--include/lib94/lib94.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lib94/lib94.hpp b/include/lib94/lib94.hpp
index eeb53ec..18f90b4 100644
--- a/include/lib94/lib94.hpp
+++ b/include/lib94/lib94.hpp
@@ -92,6 +92,7 @@ namespace lib94 {
//assumes that there is a next warrior
//returns a warrior if it dies
+ template <bool update_address_sets>
const warrior *single_step();
}