From 050aca584ba9b77c169b707db2e2a427e8c92637 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 12 Apr 2010 19:10:21 +0000 Subject: Fix use of "friend" keyword in KYRA for strict C++ compilers. Unlike g++, which does inherit friends (it seems), C++ does specify that friend is not inherited. I.e. when B is a friend of A and you have a class C subclassing B, C is not allowed to access private memebers of A. svn-id: r48641 --- engines/kyra/kyra_v1.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/kyra') diff --git a/engines/kyra/kyra_v1.h b/engines/kyra/kyra_v1.h index a30f0e7a27..002ede08b8 100644 --- a/engines/kyra/kyra_v1.h +++ b/engines/kyra/kyra_v1.h @@ -177,6 +177,9 @@ class KyraEngine_v1 : public Engine { friend class Debugger; friend class ::KyraMetaEngine; friend class GUI; +friend class GUI_LoL; +friend class GUI_LoK; +friend class GUI_v2; friend class SoundMidiPC; // For _eventMan public: KyraEngine_v1(OSystem *system, const GameFlags &flags); -- cgit v1.2.3