Explicit constructor for heap
This commit is contained in:
@@ -147,7 +147,7 @@ public:
|
|||||||
|
|
||||||
#if (defined(_MSC_VER) && (_MSC_VER >= 1800)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if (defined(_MSC_VER) && (_MSC_VER >= 1800)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
/// Construct with a given \c HeapIterface.
|
/// Construct with a given \c HeapIterface.
|
||||||
HeapT(HeapInterface _interface)
|
explicit HeapT(HeapInterface _interface)
|
||||||
: HeapVector(), interface_(std::move(_interface))
|
: HeapVector(), interface_(std::move(_interface))
|
||||||
{}
|
{}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user