@@ -10,9 +10,9 @@ class Hi_MemoryManager_Z {
1010
1111 virtual void Init ();
1212 virtual void Shut ();
13- virtual void * Alloc (U32 i_Size, Char* i_Comment, Char* i_File, S32 i_Line, U32 i_Align);
13+ virtual void * Alloc (U32 i_Size, const Char* i_Comment, const Char* i_File, S32 i_Line, U32 i_Align);
1414 virtual void * AllocEnd (U32 i_Size, const Char* i_Comment, const Char* i_File, S32 i_Line, U32 i_Align);
15- virtual void * Realloc (void * i_Ptr, U32 i_Size, Char* i_Comment, Char* i_File, S32 i_Line);
15+ virtual void * Realloc (void * i_Ptr, U32 i_Size, const Char* i_Comment, const Char* i_File, S32 i_Line);
1616 virtual void Free (void * i_Ptr);
1717 virtual U32 FindAlloc (void * a1, void * a2);
1818 virtual U32 FindAllocNb (void * a1, void * a2);
@@ -44,8 +44,8 @@ void operator delete[](void* i_Ptr);
4444
4545void * operator new (U32 i_Size);
4646void * operator new (U32 i_Size, void * i_Ptr);
47- void * operator new (U32 i_Size, Char* i_Comment, Char* i_File, S32 i_Line);
48- void * operator new [](U32 i_Size, Char* i_Comment, Char* i_File, S32 i_Line);
47+ void * operator new (U32 i_Size, const Char* i_Comment, const Char* i_File, S32 i_Line);
48+ void * operator new [](U32 i_Size, const Char* i_Comment, const Char* i_File, S32 i_Line);
4949
5050#undef New_Z
5151#define New_Z new (" Anonymous New" , __FILE__, __LINE__)
0 commit comments