diff options
Diffstat (limited to 'core/fxcrt/cfx_unowned_ptr.h')
-rw-r--r-- | core/fxcrt/cfx_unowned_ptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_unowned_ptr.h b/core/fxcrt/cfx_unowned_ptr.h index bc58144335..d91833abd4 100644 --- a/core/fxcrt/cfx_unowned_ptr.h +++ b/core/fxcrt/cfx_unowned_ptr.h @@ -64,7 +64,7 @@ class CFX_UnownedPtr { #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) void Probe() { if (m_pObj) - reinterpret_cast<volatile uint8_t*>(m_pObj)[0]; + reinterpret_cast<const volatile uint8_t*>(m_pObj)[0]; } #endif |