swap's block size made into a compile-time parameter

This commit is contained in:
Martin Sustrik
2010-08-28 13:18:53 +02:00
parent d8b975f4e7
commit beea535f9d
3 changed files with 8 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ namespace zmq
enum { default_block_size = 8192 };
// Creates the swap.
swap_t (int64_t filesize_, size_t block_size_ = default_block_size);
swap_t (int64_t filesize_);
~swap_t ();