aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-06-17 15:20:55 +0200
committerShauren <shauren.trinity@gmail.com>2022-06-17 15:20:55 +0200
commit5859510b54580b6ff3ca2858d3bdbafae780972d (patch)
tree7ba64a14c34bb46170c835aad8cc3e30c39ec552 /src/server/shared
parent61263bf74dfa6d8ee6e54b56f54a8b3e01c80140 (diff)
Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
Diffstat (limited to 'src/server/shared')
-rw-r--r--src/server/shared/DetourMemoryFunctions.h (renamed from src/server/shared/Memory.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/shared/Memory.h b/src/server/shared/DetourMemoryFunctions.h
index c28aec52081..972e5eda4b1 100644
--- a/src/server/shared/Memory.h
+++ b/src/server/shared/DetourMemoryFunctions.h
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MEMORY_H
-#define _MEMORY_H
+#ifndef TRINITY_DETOUR_MEMORY_FUNCTIONS_H
+#define TRINITY_DETOUR_MEMORY_FUNCTIONS_H
#include "DetourAlloc.h"
@@ -31,4 +31,4 @@ inline void dtCustomFree(void* ptr)
delete [] (unsigned char*)ptr;
}
-#endif
+#endif // TRINITY_DETOUR_MEMORY_FUNCTIONS_H