Skip to content
Snippets Groups Projects
Commit 0fb02a18 authored by Oliver Sander's avatar Oliver Sander
Browse files

allow user to provide an allocator

[[Imported from SVN: r5330]]
parent c3aa22b1
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
namespace Dune {
template <int block_size> class BlockBitField;
template <int block_size, class Allocator=std::allocator<bool> > class BlockBitField;
template <int block_size>
class BlockBitFieldReference
......@@ -68,8 +68,8 @@ namespace Dune {
/** \brief A dynamic array of blocks of booleans
*
*/
template <int block_size>
class BlockBitField : private std::vector<bool>
template <int block_size, class Allocator>
class BlockBitField : private std::vector<bool, Allocator>
{
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment