summaryrefslogtreecommitdiff
path: root/include/gc_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gc_allocator.h')
-rw-r--r--include/gc_allocator.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/gc_allocator.h b/include/gc_allocator.h
index 686c985e..086fac4b 100644
--- a/include/gc_allocator.h
+++ b/include/gc_allocator.h
@@ -79,7 +79,7 @@ GC_DECLARE_PTRFREE(unsigned long);
GC_DECLARE_PTRFREE(float);
GC_DECLARE_PTRFREE(double);
GC_DECLARE_PTRFREE(long double);
-/* The client may want to add others. */
+/* The client may want to add others. */
// In the following GC_Tp is GC_true_type if we are allocating a
// pointer-free object.
@@ -128,8 +128,8 @@ public:
GC_Tp* allocate(size_type GC_n, const void* = 0) {
GC_type_traits<GC_Tp> traits;
return static_cast<GC_Tp *>
- (GC_selective_alloc(GC_n * sizeof(GC_Tp),
- traits.GC_is_ptr_free, false));
+ (GC_selective_alloc(GC_n * sizeof(GC_Tp),
+ traits.GC_is_ptr_free, false));
}
// __p is not permitted to be a null pointer.
@@ -193,7 +193,7 @@ public:
// MSVC++ 6.0 do not support member templates
template <class GC_Tp1>
gc_allocator_ignore_off_page(const gc_allocator_ignore_off_page<GC_Tp1>&)
- throw() {}
+ throw() {}
# endif
~gc_allocator_ignore_off_page() throw() {}
@@ -205,8 +205,8 @@ public:
GC_Tp* allocate(size_type GC_n, const void* = 0) {
GC_type_traits<GC_Tp> traits;
return static_cast<GC_Tp *>
- (GC_selective_alloc(GC_n * sizeof(GC_Tp),
- traits.GC_is_ptr_free, true));
+ (GC_selective_alloc(GC_n * sizeof(GC_Tp),
+ traits.GC_is_ptr_free, true));
}
// __p is not permitted to be a null pointer.
@@ -272,7 +272,7 @@ public:
# if !(GC_NO_MEMBER_TEMPLATES || 0 < _MSC_VER && _MSC_VER <= 1200)
// MSVC++ 6.0 do not support member templates
template <class GC_Tp1> traceable_allocator
- (const traceable_allocator<GC_Tp1>&) throw() {}
+ (const traceable_allocator<GC_Tp1>&) throw() {}
# endif
~traceable_allocator() throw() {}