summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cstrpool.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-07 06:04:18 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-07 06:04:18 +0000
commitfec65e0b5766ade69e086d1c5b859d97494fce56 (patch)
treec22b07938e9ad590184f1276bc2bead6d888a78d /src/lib/util/cstrpool.h
parent30d94e51c53f30187a1bc565ef33e4744319790e (diff)
Cleanups and version bumpmame0153
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;
};