Ver código fonte

fix compiler error

Kolja Strohm 3 anos atrás
pai
commit
0996462aa6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      CharMap.h

+ 1 - 1
CharMap.h

@@ -35,7 +35,7 @@ namespace Framework
 
         T *get( unsigned char c )
         {
-            return dynamic_cast<T *>( entries[ (int)c ] ? entries[ (int)c ]->getThis() ) : 0;
+            return entries[ (int)c ] ? dynamic_cast<T *>( entries[ (int)c ]->getThis() ) : 0;
         }
 
         T *z( unsigned char c )