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...
This commit is contained in:
Jeremy Andrews 2022-07-12 01:39:20 -05:00 committed by roytam1
commit d50a7a5394

View file

@ -6,6 +6,7 @@
#include "MediaTrackConstraints.h"
#include "mozilla/dom/MediaStreamTrackBinding.h"
#include "mozilla/Unused.h"
#include "mozilla/Types.h"
#include <limits>
#include <algorithm>
@ -36,7 +37,7 @@ NormalizedConstraintSet::Range<ValueType>::SetFrom(const ConstrainRange& aOther)
// The Range code works surprisingly well for bool, except when averaging ideals.
template<>
bool
bool MOZ_EXPORT
NormalizedConstraintSet::Range<bool>::Merge(const Range& aOther) {
if (!Intersects(aOther)) {
return false;