summaryrefslogtreecommitdiff
path: root/src/common/linear_disk_cache.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-08-17 20:32:04 -0400
committerbunnei <bunneidev@gmail.com>2014-08-17 20:32:04 -0400
commitb26f25356d4463b5e4ccd36cf7365342d7306e7f (patch)
tree1cbe356089890c22e3f1e4084891f306d6e62d97 /src/common/linear_disk_cache.h
parent7ed73af78fb1b8e736b7807633875b3fe05474e6 (diff)
parentda6f24b37470064f10e68186965949d728fecb3c (diff)
Merge pull request #51 from lioncash/pragma
Common: Move header guards over to pragma once.
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