summaryrefslogtreecommitdiffstats
path: root/src/common/linear_disk_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linear_disk_cache.h')
-rw-r--r--src/common/linear_disk_cache.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/linear_disk_cache.h b/src/common/linear_disk_cache.h
index a24687615..96dce3155 100644
--- a/src/common/linear_disk_cache.h
+++ b/src/common/linear_disk_cache.h
@@ -2,9 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-
-#ifndef _LINEAR_DISKCACHE
-#define _LINEAR_DISKCACHE
+#pragma once
#include "common/common.h"
#include <fstream>
@@ -187,5 +185,3 @@ private:
std::fstream m_file;
u32 m_num_entries;
};
-
-#endif // _LINEAR_DISKCACHE