mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
Update vector.h
This commit is contained in:
parent
d4df8246d2
commit
4f0234a839
|
@ -1013,6 +1013,12 @@ public:
|
|||
|
||||
UVector<void*>::move(source); // add to end and reset source
|
||||
}
|
||||
|
||||
explicit UVector(const UVector<UString>& starting) : UVector(starting.size())
|
||||
{
|
||||
U_TRACE_CTOR(0, UVector<UString>, "copy ctor")
|
||||
this->copy(starting);
|
||||
}
|
||||
|
||||
~UVector()
|
||||
{
|
||||
|
@ -1320,7 +1326,7 @@ public:
|
|||
else UVector<void*>::sort();
|
||||
}
|
||||
|
||||
void copy(UVector<UString>& source)
|
||||
void copy(const UVector<UString>& source)
|
||||
{
|
||||
U_TRACE(0, "UVector<UString>::copy(%p)", &source)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user