summaryrefslogtreecommitdiffhomepage
path: root/video
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-29 08:10:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-29 08:10:12 +0200
commit4c754126e1a3eb477b10006d392aa4988db7c078 (patch)
tree4ba45f16ebec36c8ebf1693cc42b044740e99965 /video
parent945ef99fc08d4ffd799a60377fe09ac81391fc34 (diff)
video: fix syntax on clang
Diffstat (limited to 'video')
-rw-r--r--video/camera.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/camera.hpp b/video/camera.hpp
index 8d96ff6b..6181dbf3 100644
--- a/video/camera.hpp
+++ b/video/camera.hpp
@@ -81,7 +81,7 @@ void register_camera(std::unique_ptr<impl::camera_> metadata);
#ifdef _MSC_VER
// shared library targets without any symbols break cmake build
# define OTR_REGISTER_CAMERA_IMPL(type) \
- extern "C" __declspec(dllexport) [[maybe_unused]] \
+ extern "C" [[maybe_unused]] __declspec(dllexport) \
void _opentrack_module_video_ ##type (void) {}
# define OTR_REGISTER_CAMERA_IMPL2(type) \
OTR_REGISTER_CAMERA_IMPL(type)