Prechádzať zdrojové kódy

Fix error on Clang compiler: 'ival' is a protected member of 'Dictionary::Entry'

LuisAntonRebollo 11 rokov pred
rodič
commit
1f085a8cd2
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      Engine/source/console/consoleInternal.h

+ 2 - 0
Engine/source/console/consoleInternal.h

@@ -311,6 +311,8 @@ public:
       // NOTE: This is protected to ensure no one outside
       // NOTE: This is protected to ensure no one outside
       // of this structure is messing with it.
       // of this structure is messing with it.
 
 
+      friend class Dictionary;
+
       #pragma warning( push )
       #pragma warning( push )
       #pragma warning( disable : 4201 ) // warning C4201: nonstandard extension used : nameless struct/union
       #pragma warning( disable : 4201 ) // warning C4201: nonstandard extension used : nameless struct/union