summary refs log tree commit diff stats
path: root/Source/Randomizer.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2020-03-03 21:25:56 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2020-03-03 21:25:56 -0800
commit3ece17f201686342e8aff90148f360245788b234 (patch)
treea1deba5c1b09ecdc56d2c94b880ef8767289371d /Source/Randomizer.cpp
parente77cfa1596f996cc50c1601ee29891a7fb7eb62d (diff)
downloadwitness-tutorializer-3ece17f201686342e8aff90148f360245788b234.tar.gz
witness-tutorializer-3ece17f201686342e8aff90148f360245788b234.tar.bz2
witness-tutorializer-3ece17f201686342e8aff90148f360245788b234.zip
add support for puzzle serialization
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r--Source/Randomizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 01d1e2e..72072a8 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp
@@ -97,6 +97,7 @@ Things to do for V2:
97#include "Panels.h" 97#include "Panels.h"
98#include "Random.h" 98#include "Random.h"
99 99
100
100template <class T> 101template <class T>
101int find(const std::vector<T> &data, T search, size_t startIndex = 0) { 102int find(const std::vector<T> &data, T search, size_t startIndex = 0) {
102 for (size_t i=startIndex ; i<data.size(); i++) { 103 for (size_t i=startIndex ; i<data.size(); i++) {