diff options
Diffstat (limited to 'Source/Panel.cpp')
| -rw-r--r-- | Source/Panel.cpp | 2 | 
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 | |||
| 7 | template <class T> | 9 | template <class T> | 
| 8 | int find(const std::vector<T> &data, T search, size_t startIndex = 0) { | 10 | int 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++) { | 
