summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_basic.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/fxcrt/fx_basic.h')
-rw-r--r--core/include/fxcrt/fx_basic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
index d93d3f7193..62a8f2a369 100644
--- a/core/include/fxcrt/fx_basic.h
+++ b/core/include/fxcrt/fx_basic.h
@@ -1056,7 +1056,7 @@ class CFX_CountRef {
}
m_pObject = NULL;
}
- m_pObject = FX_NEW CountedObj;
+ m_pObject = new CountedObj;
if (!m_pObject) {
return NULL;
}
@@ -1099,7 +1099,7 @@ class CFX_CountRef {
ObjClass* GetModify() {
if (m_pObject == NULL) {
- m_pObject = FX_NEW CountedObj;
+ m_pObject = new CountedObj;
if (m_pObject) {
m_pObject->m_RefCount = 1;
}
@@ -1107,7 +1107,7 @@ class CFX_CountRef {
m_pObject->m_RefCount--;
CountedObj* pOldObject = m_pObject;
m_pObject = NULL;
- m_pObject = FX_NEW CountedObj(*pOldObject);
+ m_pObject = new CountedObj(*pOldObject);
if (m_pObject) {
m_pObject->m_RefCount = 1;
}