summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cstrpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/cstrpool.h')
-rw-r--r--src/lib/util/cstrpool.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/util/cstrpool.h b/src/lib/util/cstrpool.h
index c4b4805362d..6058cc43ffb 100644
--- a/src/lib/util/cstrpool.h
+++ b/src/lib/util/cstrpool.h
@@ -26,23 +26,23 @@ class const_string_pool
public:
// construction
const_string_pool();
-
+
// operations
void reset() { m_chunklist.reset(); }
const char *add(const char *string);
bool contains(const char *string);
-
+
private:
// shared string pool
class pool_chunk
{
static const int POOL_SIZE = 4096;
friend class simple_list<pool_chunk>;
-
+
public:
// construction
pool_chunk();
-
+
// getters
pool_chunk *next() const { return m_next; }
@@ -52,11 +52,11 @@ private:
private:
// internal state
- pool_chunk * m_next;
- UINT32 m_used;
- char m_buffer[POOL_SIZE];
+ pool_chunk * m_next;
+ UINT32 m_used;
+ char m_buffer[POOL_SIZE];
};
- simple_list<pool_chunk> m_chunklist;
+ simple_list<pool_chunk> m_chunklist;
};