summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorLightning_A <aaronjrecord@gmail.com>2021-06-16 10:24:34 -0600
committerLightning_A <aaronjrecord@gmail.com>2021-06-16 10:32:22 -0600
commitb6af2a29eb1f96518c89a35a6a50a6309673d9f0 (patch)
tree83014054a222c71409ba4760741b6dcfb12b7981 /servers
parent48fe9c97948f44125e68f3b8f67eaaf032c763bd (diff)
Rename `is_valid_integer()` to `is_valid_int()`
Method from `String`
Diffstat (limited to 'servers')
-rw-r--r--servers/rendering/shader_language.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp
index 8ed774f8e7..9b2ba36358 100644
--- a/servers/rendering/shader_language.cpp
+++ b/servers/rendering/shader_language.cpp
@@ -631,7 +631,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() {
if (!_is_number(last_char)) {
return _make_token(TK_ERROR, "Invalid (integer) numeric constant");
}
- if (!str.is_valid_integer()) {
+ if (!str.is_valid_int()) {
return _make_token(TK_ERROR, "Invalid numeric constant");
}
}