aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/linear_disk_cache.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-08-17 13:45:50 -0400
committerGravatar Lioncash <mathew1800@gmail.com>2014-08-17 13:45:55 -0400
commit90e994471a385d2b965e3843e1f693ccba6fb699 (patch)
treeb5835e0b235225f8478f26814205337d26a5d91a /src/common/linear_disk_cache.h
parentd1c2b76ad1687c4ccf5673d593de3b7f8710a9c0 (diff)
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
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 a2468761..96dce315 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