From d50a7a5394edcac6efc7e4b918a48d70614c0b20 Mon Sep 17 00:00:00 2001 From: Jeremy Andrews Date: Tue, 12 Jul 2022 01:39:20 -0500 Subject: [PATCH] Issue #1956 - Fix symbol visibility issue more elegantly. All it needed was __declspec(dllexport) on the function I was copy/pasting all over the place... --- dom/media/webrtc/MediaTrackConstraints.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/media/webrtc/MediaTrackConstraints.cpp b/dom/media/webrtc/MediaTrackConstraints.cpp index 42582e3c29..ffa2e7e853 100644 --- a/dom/media/webrtc/MediaTrackConstraints.cpp +++ b/dom/media/webrtc/MediaTrackConstraints.cpp @@ -6,6 +6,7 @@ #include "MediaTrackConstraints.h" #include "mozilla/dom/MediaStreamTrackBinding.h" #include "mozilla/Unused.h" +#include "mozilla/Types.h" #include #include @@ -36,7 +37,7 @@ NormalizedConstraintSet::Range::SetFrom(const ConstrainRange& aOther) // The Range code works surprisingly well for bool, except when averaging ideals. template<> -bool +bool MOZ_EXPORT NormalizedConstraintSet::Range::Merge(const Range& aOther) { if (!Intersects(aOther)) { return false;