aboutsummaryrefslogtreecommitdiff
path: root/src/CMI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMI.hpp')
-rw-r--r--src/CMI.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMI.hpp b/src/CMI.hpp
index 283ffd0..ea4ee65 100644
--- a/src/CMI.hpp
+++ b/src/CMI.hpp
@@ -14,6 +14,7 @@ namespace CMI {
* to the CMI::HalfMove remains in the move tree.
*/
class HalfMove {
+protected:
HalfMove *parent = nullptr;
HalfMove *mainline = nullptr;
std::vector<HalfMove *> variations;