Tried to access a private member from within a derived class. B-work
Tried to access a private member from within a derived class.
Why did gcc not complain?!
1.1 --- a/metamod/meta_eiface.h Sat Apr 08 21:38:48 2006 +0000
1.2 +++ b/metamod/meta_eiface.h Sat Apr 08 22:19:17 2006 +0000
1.3 @@ -38,7 +38,7 @@
1.4 #ifndef MM_META_EIFACE_H
1.5 #define MM_META_EIFACE_H
1.6
1.7 -#include "extdll.h" // NEW_DLL_FUNCTIONS, enginefuncs_t
1.8 +#include <extdll.h> // NEW_DLL_FUNCTIONS, enginefuncs_t
1.9 #include <string.h> // memset()
1.10
1.11
1.12 @@ -365,7 +365,7 @@
1.13 #endif
1.14 //-TBR
1.15
1.16 - private:
1.17 + protected:
1.18
1.19 // data :
1.20