projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae9e000
)
Changed default buffer type
author
khizmax
<khizmax@gmail.com>
Fri, 29 Jul 2016 08:41:30 +0000
(11:41 +0300)
committer
khizmax
<khizmax@gmail.com>
Fri, 29 Jul 2016 08:41:30 +0000
(11:41 +0300)
cds/intrusive/mspriority_queue.h
patch
|
blob
|
history
diff --git
a/cds/intrusive/mspriority_queue.h
b/cds/intrusive/mspriority_queue.h
index e3d211efa82212464db8689218cfa425f59deda4..6c7827283cbb589402ce6772bb5f1c901004ac51 100644
(file)
--- a/
cds/intrusive/mspriority_queue.h
+++ b/
cds/intrusive/mspriority_queue.h
@@
-103,7
+103,7
@@
namespace cds { namespace intrusive {
the \p buffer::rebind member metafunction is called to change type
of values stored in the buffer.
*/
the \p buffer::rebind member metafunction is called to change type
of values stored in the buffer.
*/
- typedef opt::v::initialized_dynamic_buffer<void *> buffer;
+ typedef opt::v::initialized_dynamic_buffer<void *
, CDS_DEFAULT_ALLOCATOR, false
> buffer;
/// Priority compare functor
/**
/// Priority compare functor
/**
@@
-240,7
+240,7
@@
namespace cds { namespace intrusive {
//@endcond
public:
//@endcond
public:
- typedef typename traits::buffer::template rebind<node
, typename traits::buffer::allocator, false
>::other buffer_type ; ///< Heap array buffer type
+ typedef typename traits::buffer::template rebind<node>::other buffer_type ; ///< Heap array buffer type
//@cond
typedef cds::bitop::bit_reverse_counter<> item_counter_type;
//@cond
typedef cds::bitop::bit_reverse_counter<> item_counter_type;