summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/viewfinder_gl.h')
-rw-r--r--src/qcam/viewfinder_gl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qcam/viewfinder_gl.h b/src/qcam/viewfinder_gl.h
index 37b1ddd0..0a9275ba 100644
--- a/src/qcam/viewfinder_gl.h
+++ b/src/qcam/viewfinder_gl.h
@@ -5,8 +5,8 @@
* viewfinder_GL.h - OpenGL Viewfinder for rendering by OpenGL shader
*
*/
-#ifndef __VIEWFINDER_GL_H__
-#define __VIEWFINDER_GL_H__
+
+#pragma once
#include <array>
#include <memory>
@@ -103,5 +103,3 @@ private:
QMutex mutex_; /* Prevent concurrent access to image_ */
};
-
-#endif /* __VIEWFINDER_GL_H__ */