Adds const.

This commit is contained in:
James Chen
2018-03-05 18:11:08 +08:00
parent e83be4b12f
commit 38cdd2b17d
3 changed files with 3 additions and 3 deletions
@@ -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