added a const keyword for a methods that return constant literal...

This commit is contained in:
hbina085 2019-05-20 13:36:24 -04:00
parent 9643b2b6de
commit f78baa5f93
24 changed files with 24 additions and 24 deletions

View file

@ -1159,7 +1159,7 @@ Error OS_JavaScript::shell_open(String p_uri) {
return OK;
}
String OS_JavaScript::get_name() {
String OS_JavaScript::get_name() const {
return "HTML5";
}

View file

@ -146,7 +146,7 @@ public:
virtual void set_icon(const Ref<Image> &p_icon);
String get_executable_path() const;
virtual Error shell_open(String p_uri);
virtual String get_name();
virtual String get_name() const;
virtual bool can_draw() const;
virtual String get_resource_dir() const;