kernel: Vector: fix warning
template-id not allowed for constructor in C++20 Change-Id: I562856908ab2deb9fdbf6bf24eedb58e5ebf6c9f Reviewed-on: https://review.haiku-os.org/c/haiku/+/7908 Tested-by: Commit checker robot <[email protected]> Haiku-Format: Haiku-format Bot <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
@@ -101,12 +101,12 @@ private:
|
|||||||
typedef VectorIterator<Value> Iterator;
|
typedef VectorIterator<Value> Iterator;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
inline VectorIterator<Value>()
|
inline VectorIterator()
|
||||||
: fElement(NULL)
|
: fElement(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
inline VectorIterator<Value>(const Iterator &other)
|
inline VectorIterator(const Iterator &other)
|
||||||
: fElement(other.fElement)
|
: fElement(other.fElement)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -173,7 +173,7 @@ public:
|
|||||||
|
|
||||||
// private
|
// private
|
||||||
public:
|
public:
|
||||||
inline VectorIterator<Value>(Value *element)
|
inline VectorIterator(Value *element)
|
||||||
: fElement(element)
|
: fElement(element)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user