diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2019-11-25 21:10:50 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2019-11-25 21:10:50 -0800 |
commit | ac83733b590f3c0750bea1de3556ceb24fa0a4b1 (patch) | |
tree | 74aa45ca76603f23c027478af4c2c5aa09eab11e /Source/Validator.cpp | |
parent | e10243a64e0c6542c9b74c3bb95f5ebf4a3df7cb (diff) | |
download | witness-tutorializer-ac83733b590f3c0750bea1de3556ceb24fa0a4b1.tar.gz witness-tutorializer-ac83733b590f3c0750bea1de3556ceb24fa0a4b1.tar.bz2 witness-tutorializer-ac83733b590f3c0750bea1de3556ceb24fa0a4b1.zip |
Using PCH to clean up includes
Diffstat (limited to 'Source/Validator.cpp')
-rw-r--r-- | Source/Validator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Validator.cpp b/Source/Validator.cpp index e71dc34..cb0ffa8 100644 --- a/Source/Validator.cpp +++ b/Source/Validator.cpp | |||
@@ -1,3 +1,4 @@ | |||
1 | #include "pch.h" | ||
1 | #include "Validator.h" | 2 | #include "Validator.h" |
2 | #include "Puzzle.h" | 3 | #include "Puzzle.h" |
3 | 4 | ||
@@ -10,7 +11,7 @@ void Validator::Validate(Puzzle& p) { | |||
10 | bool puzzleHasSymbols = false; | 11 | bool puzzleHasSymbols = false; |
11 | bool puzzleHasStart = false; | 12 | bool puzzleHasStart = false; |
12 | bool puzzleHasEnd = false; | 13 | bool puzzleHasEnd = false; |
13 | // Validate gap failures as an early exit. | 14 | // Validate gap failures as an early exit. |
14 | for (int x = 0; x < p.width; x++) { | 15 | for (int x = 0; x < p.width; x++) { |
15 | for (int y = 0; y < p.height; y++) { | 16 | for (int y = 0; y < p.height; y++) { |
16 | Cell cell = p.grid[x][y]; | 17 | Cell cell = p.grid[x][y]; |