summary refs log tree commit diff stats
path: root/Source/Panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Panel.cpp')
-rw-r--r--Source/Panel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Panel.cpp b/Source/Panel.cpp index ea65142..43e9763 100644 --- a/Source/Panel.cpp +++ b/Source/Panel.cpp
@@ -4,6 +4,8 @@
4#include "Randomizer.h" 4#include "Randomizer.h"
5#include <sstream> 5#include <sstream>
6 6
7#pragma warning (disable:26451)
8
7template <class T> 9template <class T>
8int find(const std::vector<T> &data, T search, size_t startIndex = 0) { 10int find(const std::vector<T> &data, T search, size_t startIndex = 0) {
9 for (size_t i=startIndex ; i<data.size(); i++) { 11 for (size_t i=startIndex ; i<data.size(); i++) {