Bugfix: adding integer to string literal is not concatenation.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-09-02 13:07:26 +02:00
parent 273b1ecdda
commit 5981df7f82

View File

@ -31,7 +31,7 @@ namespace Opm {
if (timestep < m_decktimesteps.size()) {
return m_decktimesteps[timestep];
} else {
throw std::out_of_range("No DeckTimeStep in ScheduleSection for timestep " + timestep);
throw std::out_of_range("No DeckTimeStep in ScheduleSection for timestep " + std::to_string(timestep));
}
}