aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/fixed_size_queue.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/fixed_size_queue.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/fixed_size_queue.h')
-rw-r--r--src/common/fixed_size_queue.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common/fixed_size_queue.h b/src/common/fixed_size_queue.h
index 1f507f4a..1e3a5dea 100644
--- a/src/common/fixed_size_queue.h
+++ b/src/common/fixed_size_queue.h
@@ -2,9 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-
-#ifndef _FIXED_SIZE_QUEUE_H_
-#define _FIXED_SIZE_QUEUE_H_
+#pragma once
// STL-look-a-like interface, but name is mixed case to distinguish it clearly from the
// real STL classes.
@@ -70,6 +68,3 @@ public:
return count;
}
};
-
-#endif // _FIXED_SIZE_QUEUE_H_
-