Sfoglia il codice sorgente

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

LuisAntonRebollo 11 anni fa
parent
commit
1f085a8cd2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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
       // of this structure is messing with it.
 
+      friend class Dictionary;
+
       #pragma warning( push )
       #pragma warning( disable : 4201 ) // warning C4201: nonstandard extension used : nameless struct/union