diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-10-16 20:58:38 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-10-16 20:58:38 +0400 |
commit | b9d228b2818994c2a06e8f4a69db14ba063cda96 (patch) | |
tree | e78dcf0a68d9dc2dd0bf7d47449c2c13eb2daada /util/pool.hh | |
parent | 96bc9d05dc713e1da29c9bacd6c59f9301fd9981 (diff) |
Fix compiler errors for more strict compilers
Diffstat (limited to 'util/pool.hh')
-rw-r--r-- | util/pool.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/pool.hh b/util/pool.hh index 32e0cbf7e..72f8a0c8b 100644 --- a/util/pool.hh +++ b/util/pool.hh @@ -16,7 +16,7 @@ class Pool { ~Pool(); - void *Allocate(size_t size) { + void *Allocate(std::size_t size) { void *ret = current_; current_ += size; if (current_ < current_end_) { @@ -29,7 +29,7 @@ class Pool { void FreeAll(); private: - void *More(size_t size); + void *More(std::size_t size); std::vector<void *> free_list_; |