summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2/v4l2_camera.h')
-rw-r--r--src/v4l2/v4l2_camera.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/v4l2/v4l2_camera.h b/src/v4l2/v4l2_camera.h
index e81996f2..94263b2f 100644
--- a/src/v4l2/v4l2_camera.h
+++ b/src/v4l2/v4l2_camera.h
@@ -5,8 +5,7 @@
* v4l2_camera.h - V4L2 compatibility camera
*/
-#ifndef __V4L2_CAMERA_H__
-#define __V4L2_CAMERA_H__
+#pragma once
#include <deque>
#include <mutex>
@@ -86,5 +85,3 @@ private:
std::condition_variable bufferCV_;
unsigned int bufferAvailableCount_;
};
-
-#endif /* __V4L2_CAMERA_H__ */