aboutsummaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/alloc-pool.h')
-rw-r--r--gcc/alloc-pool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/alloc-pool.h b/gcc/alloc-pool.h
index d320810..d8878b6 100644
--- a/gcc/alloc-pool.h
+++ b/gcc/alloc-pool.h
@@ -34,8 +34,9 @@ typedef unsigned long ALLOC_POOL_ID_TYPE;
extern ALLOC_POOL_ID_TYPE last_id;
/* Pool allocator memory usage. */
-struct pool_usage: public mem_usage
+class pool_usage: public mem_usage
{
+public:
/* Default contructor. */
pool_usage (): m_element_size (0), m_pool_name ("") {}
/* Constructor. */