Parcourir la source

Use Crc32 type for XR service ID

Signed-off-by: Markus Prettner <[email protected]>
Markus Prettner il y a 1 semaine
Parent
commit
51fd90d25a
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      Gems/XR/Code/Include/XR/XRFactory.h
  2. 1 1
      Gems/XR/Code/Source/XRFactory.cpp

+ 1 - 1
Gems/XR/Code/Include/XR/XRFactory.h

@@ -34,7 +34,7 @@ namespace XR
         AZ_DISABLE_COPY_MOVE(Factory);
 
         //! Returns the component service name CRC used by the platform RHI system component.
-        static AZ::u32 GetPlatformService();
+        static AZ::Crc32 GetPlatformService();
 
         //! Registers the global factory instance.
         static void Register(XR::Factory* instance);

+ 1 - 1
Gems/XR/Code/Source/XRFactory.cpp

@@ -11,7 +11,7 @@
 
 namespace XR
 {
-    AZ::u32 Factory::GetPlatformService()
+    AZ::Crc32 Factory::GetPlatformService()
     {
         return AZ_CRC_CE("XRPlatformService");
     }