SCI32: Remove unused shrink-to-fit function for string arrays
This commit is contained in:
parent
50cfb7ad46
commit
0ceab96e91
1 changed files with 0 additions and 8 deletions
|
@ -530,14 +530,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Shrinks a string array to its optimal size.
|
||||
*/
|
||||
void snug() {
|
||||
assert(_type == kArrayTypeString || _type == kArrayTypeByte);
|
||||
resize(Common::strnlen((char *)_data, _size) + 1, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a pointer to the array's raw data storage.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue