summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/memory_util.h')
-rw-r--r--src/common/memory_util.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/memory_util.h b/src/common/memory_util.h
index 49b2589da..922bd44b2 100644
--- a/src/common/memory_util.h
+++ b/src/common/memory_util.h
@@ -2,9 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-
-#ifndef _MEMORYUTIL_H
-#define _MEMORYUTIL_H
+#pragma once
#ifndef _WIN32
#include <sys/mman.h>
@@ -21,5 +19,3 @@ void UnWriteProtectMemory(void* ptr, size_t size, bool allowExecute = false);
std::string MemUsage();
inline int GetPageSize() { return 4096; }
-
-#endif