mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1478020 - Fix some -Wmicrosoft-template in the interceptor. r=aklotz
This commit is contained in:
parent
c6ebd445b2
commit
7995320ed3
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user