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;
|
||||
|
||||
public:
|
||||
inline VectorIterator<Value>()
|
||||
inline VectorIterator()
|
||||
: fElement(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
inline VectorIterator<Value>(const Iterator &other)
|
||||
inline VectorIterator(const Iterator &other)
|
||||
: fElement(other.fElement)
|
||||
{
|
||||
}
|
||||
@@ -173,7 +173,7 @@ public:
|
||||
|
||||
// private
|
||||
public:
|
||||
inline VectorIterator<Value>(Value *element)
|
||||
inline VectorIterator(Value *element)
|
||||
: fElement(element)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user