diff --git a/mozglue/misc/interceptor/TargetFunction.h b/mozglue/misc/interceptor/TargetFunction.h index 084571d070f5..2d7202df6d5e 100644 --- a/mozglue/misc/interceptor/TargetFunction.h +++ b/mozglue/misc/interceptor/TargetFunction.h @@ -808,8 +808,8 @@ private: template struct ChasePointerHelper { - template - static T Result(const MMPolicy&, T aValue) + template + static T Result(const MMPolicy_&, T aValue) { return aValue; } @@ -818,10 +818,10 @@ private: template struct ChasePointerHelper { - template - static auto Result(const MMPolicy& aPolicy, T* aValue) + template + static auto Result(const MMPolicy_& aPolicy, T* aValue) { - ReadOnlyTargetFunction ptr(aPolicy, aValue); + ReadOnlyTargetFunction ptr(aPolicy, aValue); return ptr.template ChasePointer(); } };