summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r--src/qcam/main_window.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h
index 4d8e806b..3fbe872c 100644
--- a/src/qcam/main_window.h
+++ b/src/qcam/main_window.h
@@ -4,8 +4,8 @@
*
* main_window.h - qcam - Main application window
*/
-#ifndef __QCAM_MAIN_WINDOW_H__
-#define __QCAM_MAIN_WINDOW_H__
+
+#pragma once
#include <memory>
#include <vector>
@@ -126,5 +126,3 @@ private:
std::vector<std::unique_ptr<libcamera::Request>> requests_;
};
-
-#endif /* __QCAM_MAIN_WINDOW__ */