summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2015-05-05 12:31:54 +0300
committerIvan Maidanski <ivmai@mail.ru>2015-05-06 21:06:02 +0300
commit98bd68186957f29e72298fe1700eeb5f0f585f26 (patch)
tree96af3f968a353321b112362659bf82ed09de344d
parentca06fd9248dd277a36c958011a6f6e8db9741612 (diff)
downloadbdwgc-jtotz-bdwgc-integrate.tar.gz
Revert 'using ::GC_malloc' workaround in gc_cpp.h for VC9jtotz-bdwgc-integrate
(revert part of commit 1468889 from 'jtotz_bwdwgc' branch) * include/gc_cpp.h (namespace std): Remove "using ::GC_[debug_]realloc/malloc_uncollectable" hack for VC 9.
-rw-r--r--include/gc_cpp.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/gc_cpp.h b/include/gc_cpp.h
index ad82dd6f..5e65fd36 100644
--- a/include/gc_cpp.h
+++ b/include/gc_cpp.h
@@ -459,15 +459,6 @@ inline void* operator new(size_t size, GCPlacement gcp, GCCleanUpFunc cleanup,
}
#endif // GC_OPERATOR_NEW_ARRAY
-// oooohh... big hack (mainly for vnl which explicitly references mem-stuff via std namespace)
-namespace std
-{
- using ::GC_debug_malloc_uncollectable;
- using ::GC_debug_realloc;
- using ::GC_realloc;
- using ::GC_malloc_uncollectable;
-}
-
#if defined(__CYGWIN__)
# include <new> // for delete throw()
inline void operator delete(void *p)