From 31d28a6cdaa55ff15dd5f532d4753199b0aa94ca Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 19 Jan 2023 10:14:27 +0100 Subject: [PATCH] Members are now protected --- src/CMI.hpp | 1 + 1 file changed, 1 insertion(+) 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 variations;