Sfoglia il codice sorgente

fixup! hle: kernel: Add initial impl. of KAutoObject.

bunnei 5 anni fa
parent
commit
9bae3992e6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/core/hle/kernel/k_auto_object.h

+ 1 - 1
src/core/hle/kernel/k_auto_object.h

@@ -41,7 +41,7 @@ public:
     virtual TypeObj GetTypeObj() const {                                                           \
     virtual TypeObj GetTypeObj() const {                                                           \
         return GetStaticTypeObj();                                                                 \
         return GetStaticTypeObj();                                                                 \
     }                                                                                              \
     }                                                                                              \
-    virtual const char* GetTypeName() {                                                            \
+    virtual const char* GetTypeName() const {                                                      \
         return GetStaticTypeName();                                                                \
         return GetStaticTypeName();                                                                \
     }                                                                                              \
     }                                                                                              \
                                                                                                    \
                                                                                                    \