Bug 1478020 - Fix some -Wmicrosoft-template in the interceptor. r=aklotz

This commit is contained in:
David Major 2018-07-26 16:02:30 -04:00
parent c6ebd445b2
commit 7995320ed3
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ namespace interceptor {
template <typename VMPolicy>
class WindowsDllDetourPatcher final : public WindowsDllPatcherBase<VMPolicy>
{
typedef typename VMPolicy::MMPolicyT MMPolicyT;
public:
template <typename... Args>
explicit WindowsDllDetourPatcher(Args... aArgs)

View File

@ -17,6 +17,8 @@ namespace interceptor {
template <typename VMPolicy>
class WindowsDllNopSpacePatcher final : public WindowsDllPatcherBase<VMPolicy>
{
typedef typename VMPolicy::MMPolicyT MMPolicyT;
// For remembering the addresses of functions we've patched.
mozilla::Vector<void*> mPatchedFns;