diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2019-11-18 09:41:22 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2019-11-18 09:41:22 -0800 |
commit | c282663a96ae9704a59c55c9300dbc8c49e0ef39 (patch) | |
tree | 071a26b8e58b8aac4d347c6a8200a4b01663abe1 /Source/Puzzle.h | |
parent | bff40e55c9c55fbc8439bb225d1937b2d805e629 (diff) | |
download | witness-tutorializer-c282663a96ae9704a59c55c9300dbc8c49e0ef39.tar.gz witness-tutorializer-c282663a96ae9704a59c55c9300dbc8c49e0ef39.tar.bz2 witness-tutorializer-c282663a96ae9704a59c55c9300dbc8c49e0ef39.zip |
Add sanity checks for overwriting buffers
Diffstat (limited to 'Source/Puzzle.h')
-rw-r--r-- | Source/Puzzle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Puzzle.h b/Source/Puzzle.h index 962874e..1e00ef4 100644 --- a/Source/Puzzle.h +++ b/Source/Puzzle.h | |||
@@ -65,8 +65,8 @@ struct Pos {int x; int y;}; | |||
65 | 65 | ||
66 | class Puzzle { | 66 | class Puzzle { |
67 | public: | 67 | public: |
68 | int16_t height = 0; | 68 | int height = 0; |
69 | int16_t width = 0; | 69 | int width = 0; |
70 | bool hasDecorations = false; | 70 | bool hasDecorations = false; |
71 | 71 | ||
72 | enum class Symmetry {NONE, X, Y, XY}; | 72 | enum class Symmetry {NONE, X, Y, XY}; |