summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-13 12:24:16 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-14 00:42:39 +0100
commite002d31ac51e80bb1d008c198b864dfcb2b30cb3 (patch)
tree073251c20b26537db2f1c5e41d28de7b73b6b7d0
parent1c1676c83d5785e4c6a2212e68a8dff46eab4847 (diff)
Add header guard.
-rw-r--r--src/lib/scope_guard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/scope_guard.h b/src/lib/scope_guard.h
index c26104011..ac60f9fea 100644
--- a/src/lib/scope_guard.h
+++ b/src/lib/scope_guard.h
@@ -19,6 +19,10 @@
*/
+#ifndef DCPOMATIC_SCOPE_GUARD_H
+#define DCPOMATIC_SCOPE_GUARD_H
+
+
#include <functional>
@@ -49,3 +53,5 @@ private:
};
+#endif
+