A few more SimpleVector changes.
Some checks failed
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled

This commit is contained in:
2025-08-11 02:30:11 -04:00
parent 214a4a62fe
commit fad69219ad
3 changed files with 17 additions and 20 deletions

View File

@ -409,7 +409,7 @@ private:
* cumHeight->get(0) is 0, cumHeight->get(numRows) is the total table
* height.
*/
lout::misc::SimpleVector<int> *cumHeight;
std::vector< int > cumHeight;
/**
* If a Cell has rowspan > 1, it goes into this array
*/
@ -457,9 +457,9 @@ private:
void setCumHeight (int row, int value)
{
if (value != cumHeight->get (row)) {
if (value != cumHeight.at (row)) {
redrawY = std::min ( redrawY, value );
cumHeight->set (row, value);
cumHeight[ row ]= value;
}
}