diff --git a/src/list.cpp b/src/list.cpp index aee57506..47036c70 100644 --- a/src/list.cpp +++ b/src/list.cpp @@ -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) + "."); } }