From e2ea64c603b1e4b2184e363ee0d0a13fa0e286a0 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Mon, 11 Jul 2022 10:15:09 +0200 Subject: Add QUOTIENT_API to RoomStateView Fixing link errors at non-template RoomStateView::get() when building with libQuotient as a shared object. There's also a test in quotest.cpp now to cover that case. --- lib/roomstateview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/roomstateview.h b/lib/roomstateview.h index cab69ae3..29cce00e 100644 --- a/lib/roomstateview.h +++ b/lib/roomstateview.h @@ -11,7 +11,8 @@ namespace Quotient { class Room; -class RoomStateView : private QHash { +class QUOTIENT_API RoomStateView + : private QHash { Q_GADGET public: const QHash& events() const -- cgit v1.2.3