mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Merge branch 'master' of github.com:Relintai/rcpp_cms
This commit is contained in:
commit
eb8c105f72
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,6 +5,8 @@ bin/**
|
||||
*.a
|
||||
*.pyc
|
||||
|
||||
.cache/**
|
||||
|
||||
settings.json
|
||||
|
||||
compile_commands.json
|
||||
|
@ -44,7 +44,7 @@ void String::erase(const char element) {
|
||||
void String::erase(const int start_index, const int length) {
|
||||
int sil = start_index + length;
|
||||
|
||||
ERR_FAIL_INDEX(sil, _size);
|
||||
ERR_FAIL_INDEX(sil, _size + 1);
|
||||
|
||||
if (length >= _size) {
|
||||
_size = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user