Explicit constructor for heap

This commit is contained in:
Jan Möbius
2023-08-23 09:21:16 +02:00
parent 10c0d57469
commit 652f14afc8

View File

@@ -146,8 +146,8 @@ public:
HeapT() : HeapVector() {}
#if (defined(_MSC_VER) && (_MSC_VER >= 1800)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
/// Construct with a given \c HeapIterface.
HeapT(HeapInterface _interface)
/// Construct with a given \c HeapIterface.
explicit HeapT(HeapInterface _interface)
: HeapVector(), interface_(std::move(_interface))
{}
#else