From aa29f86efee572fff8c95aa63b991e66f0f4ee9a Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Sat, 28 Jan 2023 19:45:27 +0100 Subject: [PATCH] fixed struct vs class. --- apps/openmw/mwworld/cell.hpp | 2 +- components/esm/esmbridge.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwworld/cell.hpp b/apps/openmw/mwworld/cell.hpp index 3a0d063e02..f8545f40e3 100644 --- a/apps/openmw/mwworld/cell.hpp +++ b/apps/openmw/mwworld/cell.hpp @@ -22,7 +22,7 @@ namespace MWWorld { class CellStore; - struct Cell : public ESM::CellVariant + class Cell : public ESM::CellVariant { friend MWWorld::CellStore; struct MoodData diff --git a/components/esm/esmbridge.hpp b/components/esm/esmbridge.hpp index e50b73e61b..1439f271c1 100644 --- a/components/esm/esmbridge.hpp +++ b/components/esm/esmbridge.hpp @@ -18,7 +18,7 @@ namespace ESM struct CellId; struct RefId; - struct CellVariant + class CellVariant { protected: std::variant mVariant;