mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
References shouldn't be null
This commit is contained in:
parent
e6a14beb2e
commit
e4c4e5edb2
@ -278,12 +278,6 @@ void LinkedListIterator<TYPE>::Replace(const TYPE& new_data)
|
|||||||
template<class TYPE>
|
template<class TYPE>
|
||||||
void LinkedListIterator<TYPE>::Reset()
|
void LinkedListIterator<TYPE>::Reset()
|
||||||
{
|
{
|
||||||
if (!(&list))
|
|
||||||
{
|
|
||||||
current_element=0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dir == FORWARD)
|
if (dir == FORWARD)
|
||||||
{
|
{
|
||||||
current_element = list.first;
|
current_element = list.first;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user