mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Adds const.
This commit is contained in:
@@ -157,7 +157,7 @@ namespace se {
|
||||
/**
|
||||
* @brief Tests whether delegate is valid.
|
||||
*/
|
||||
bool isValid() {
|
||||
bool isValid() const {
|
||||
return onGetDataFromFile != nullptr
|
||||
&& onGetStringFromFile != nullptr
|
||||
&& onCheckFileExist != nullptr
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace se {
|
||||
, onGetFullPath(nullptr)
|
||||
{}
|
||||
|
||||
bool isValid() {
|
||||
bool isValid() const {
|
||||
return onGetDataFromFile != nullptr
|
||||
&& onGetStringFromFile != nullptr
|
||||
&& onCheckFileExist != nullptr
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace se {
|
||||
/**
|
||||
* @brief Tests whether delegate is valid.
|
||||
*/
|
||||
bool isValid() {
|
||||
bool isValid() const {
|
||||
return onGetDataFromFile != nullptr
|
||||
&& onGetStringFromFile != nullptr
|
||||
&& onCheckFileExist != nullptr
|
||||
|
||||
Reference in New Issue
Block a user