summaryrefslogtreecommitdiff
path: root/src/qcam/format_converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/format_converter.h')
-rw-r--r--src/qcam/format_converter.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qcam/format_converter.h b/src/qcam/format_converter.h
index 9da2df5d..37dbfae2 100644
--- a/src/qcam/format_converter.h
+++ b/src/qcam/format_converter.h
@@ -4,8 +4,8 @@
*
* format_convert.h - qcam - Convert buffer to RGB
*/
-#ifndef __QCAM_FORMAT_CONVERTER_H__
-#define __QCAM_FORMAT_CONVERTER_H__
+
+#pragma once
#include <stddef.h>
@@ -60,5 +60,3 @@ private:
unsigned int y_pos_;
unsigned int cb_pos_;
};
-
-#endif /* __QCAM_FORMAT_CONVERTER_H__ */