summaryrefslogtreecommitdiff
path: root/src/lib/video_ring_buffers.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-14 01:09:11 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-14 12:55:36 +0200
commit0c6f11c42a4f5d858053da7e9589786c48d31e64 (patch)
tree182ff0756b9464e9f8c0e84355d876a29a6ca7d0 /src/lib/video_ring_buffers.h
parenta4a7cd938aa4f23f23240ed732844e5ad61683c0 (diff)
Cleanup: add header guards.
Diffstat (limited to 'src/lib/video_ring_buffers.h')
-rw-r--r--src/lib/video_ring_buffers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h
index 47fda01f7..842336a26 100644
--- a/src/lib/video_ring_buffers.h
+++ b/src/lib/video_ring_buffers.h
@@ -19,6 +19,10 @@
*/
+#ifndef DCPOMATIC_VIDEO_RING_BUFFERS_H
+#define DCPOMATIC_VIDEO_RING_BUFFERS_H
+
+
#include "dcpomatic_time.h"
#include "player_video.h"
#include "types.h"
@@ -53,3 +57,6 @@ private:
mutable boost::mutex _mutex;
std::list<std::pair<std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime>> _data;
};
+
+
+#endif