Codechange: Add missing override specifiers.
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
/**
|
||||
* @api -all
|
||||
*/
|
||||
virtual void FinalRelease();
|
||||
void FinalRelease() override;
|
||||
};
|
||||
|
||||
#endif /* SCRIPT_ASYNCMODE_HPP */
|
||||
|
@@ -48,7 +48,7 @@ public:
|
||||
/**
|
||||
* @api -all
|
||||
*/
|
||||
virtual void FinalRelease();
|
||||
void FinalRelease() override;
|
||||
};
|
||||
|
||||
#endif /* SCRIPT_EXECMODE_HPP */
|
||||
|
@@ -90,7 +90,7 @@ public:
|
||||
this->End();
|
||||
}
|
||||
|
||||
SQInteger Begin()
|
||||
SQInteger Begin() override
|
||||
{
|
||||
if (this->list->buckets.empty()) return 0;
|
||||
this->has_no_more_items = false;
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void End()
|
||||
void End() override
|
||||
{
|
||||
this->bucket_list = nullptr;
|
||||
this->has_no_more_items = true;
|
||||
@@ -135,7 +135,7 @@ public:
|
||||
this->item_next = *this->bucket_list_iter;
|
||||
}
|
||||
|
||||
SQInteger Next()
|
||||
SQInteger Next() override
|
||||
{
|
||||
if (this->IsEnd()) return 0;
|
||||
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void Remove(SQInteger item)
|
||||
void Remove(SQInteger item) override
|
||||
{
|
||||
if (this->IsEnd()) return;
|
||||
|
||||
@@ -179,7 +179,7 @@ public:
|
||||
this->End();
|
||||
}
|
||||
|
||||
SQInteger Begin()
|
||||
SQInteger Begin() override
|
||||
{
|
||||
if (this->list->buckets.empty()) return 0;
|
||||
this->has_no_more_items = false;
|
||||
@@ -199,7 +199,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void End()
|
||||
void End() override
|
||||
{
|
||||
this->bucket_list = nullptr;
|
||||
this->has_no_more_items = true;
|
||||
@@ -232,7 +232,7 @@ public:
|
||||
this->item_next = *this->bucket_list_iter;
|
||||
}
|
||||
|
||||
SQInteger Next()
|
||||
SQInteger Next() override
|
||||
{
|
||||
if (this->IsEnd()) return 0;
|
||||
|
||||
@@ -241,7 +241,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void Remove(SQInteger item)
|
||||
void Remove(SQInteger item) override
|
||||
{
|
||||
if (this->IsEnd()) return;
|
||||
|
||||
@@ -271,7 +271,7 @@ public:
|
||||
this->End();
|
||||
}
|
||||
|
||||
SQInteger Begin()
|
||||
SQInteger Begin() override
|
||||
{
|
||||
if (this->list->items.empty()) return 0;
|
||||
this->has_no_more_items = false;
|
||||
@@ -284,7 +284,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void End()
|
||||
void End() override
|
||||
{
|
||||
this->has_no_more_items = true;
|
||||
}
|
||||
@@ -302,7 +302,7 @@ public:
|
||||
if (this->item_iter != this->list->items.end()) item_next = (*this->item_iter).first;
|
||||
}
|
||||
|
||||
SQInteger Next()
|
||||
SQInteger Next() override
|
||||
{
|
||||
if (this->IsEnd()) return 0;
|
||||
|
||||
@@ -311,7 +311,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void Remove(SQInteger item)
|
||||
void Remove(SQInteger item) override
|
||||
{
|
||||
if (this->IsEnd()) return;
|
||||
|
||||
@@ -344,7 +344,7 @@ public:
|
||||
this->End();
|
||||
}
|
||||
|
||||
SQInteger Begin()
|
||||
SQInteger Begin() override
|
||||
{
|
||||
if (this->list->items.empty()) return 0;
|
||||
this->has_no_more_items = false;
|
||||
@@ -358,7 +358,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void End()
|
||||
void End() override
|
||||
{
|
||||
this->has_no_more_items = true;
|
||||
}
|
||||
@@ -381,7 +381,7 @@ public:
|
||||
if (this->item_iter != this->list->items.end()) item_next = (*this->item_iter).first;
|
||||
}
|
||||
|
||||
SQInteger Next()
|
||||
SQInteger Next() override
|
||||
{
|
||||
if (this->IsEnd()) return 0;
|
||||
|
||||
@@ -390,7 +390,7 @@ public:
|
||||
return item_current;
|
||||
}
|
||||
|
||||
void Remove(SQInteger item)
|
||||
void Remove(SQInteger item) override
|
||||
{
|
||||
if (this->IsEnd()) return;
|
||||
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
/**
|
||||
* @api -all
|
||||
*/
|
||||
virtual void FinalRelease();
|
||||
void FinalRelease() override;
|
||||
};
|
||||
|
||||
#endif /* SCRIPT_TESTMODE_HPP */
|
||||
|
@@ -125,7 +125,7 @@ public:
|
||||
/**
|
||||
* @api -all
|
||||
*/
|
||||
virtual std::string GetEncodedText();
|
||||
std::string GetEncodedText() override;
|
||||
|
||||
private:
|
||||
using ScriptTextRef = ScriptObjectRef<ScriptText>;
|
||||
|
Reference in New Issue
Block a user