diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2020-03-03 21:25:56 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2020-03-03 21:25:56 -0800 |
commit | 3ece17f201686342e8aff90148f360245788b234 (patch) | |
tree | a1deba5c1b09ecdc56d2c94b880ef8767289371d /Source/Randomizer.cpp | |
parent | e77cfa1596f996cc50c1601ee29891a7fb7eb62d (diff) | |
download | witness-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.cpp | 1 |
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 | |||
100 | template <class T> | 101 | template <class T> |
101 | int find(const std::vector<T> &data, T search, size_t startIndex = 0) { | 102 | int 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++) { |