mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-12 07:14:23 +00:00
fixes for android
This commit is contained in:
parent
89fd01705d
commit
d07f82b3ec
@ -45,8 +45,8 @@ void List::verify_valid_row(size_t row_ndx, bool insertion) const
|
||||
{
|
||||
size_t size = m_link_view->size();
|
||||
if (row_ndx > size || (!insertion && row_ndx == size)) {
|
||||
throw std::out_of_range("Index " + std::to_string(row_ndx) + " is outside of range 0..." +
|
||||
std::to_string(size) + ".");
|
||||
throw std::out_of_range("Index " + to_string(row_ndx) + " is outside of range 0..." +
|
||||
to_string(size) + ".");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user