diff options
author | Lightning_A <aaronjrecord@gmail.com> | 2021-06-16 10:24:34 -0600 |
---|---|---|
committer | Lightning_A <aaronjrecord@gmail.com> | 2021-06-16 10:32:22 -0600 |
commit | b6af2a29eb1f96518c89a35a6a50a6309673d9f0 (patch) | |
tree | 83014054a222c71409ba4760741b6dcfb12b7981 /servers | |
parent | 48fe9c97948f44125e68f3b8f67eaaf032c763bd (diff) |
Rename `is_valid_integer()` to `is_valid_int()`
Method from `String`
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering/shader_language.cpp | 2 |
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"); } } |