summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-17 19:45:50 +0200
committerLioncash <mathew1800@gmail.com>2014-08-17 19:45:55 +0200
commit90e994471a385d2b965e3843e1f693ccba6fb699 (patch)
treeb5835e0b235225f8478f26814205337d26a5d91a /src/common/memory_util.h
parentMerge pull request #47 from archshift/stdstring (diff)
downloadyuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar
yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.gz
yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.bz2
yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.lz
yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.xz
yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.zst
yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.zip
Diffstat (limited to '')
-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