mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Changed c-style cast to c++-style cast
This commit is contained in:
parent
e1632b8522
commit
6dd24640c9
@ -89,7 +89,7 @@ namespace Opm {
|
||||
template <class Container>
|
||||
void readData(std::istream& stream, Container& container, size_t datasize)
|
||||
{
|
||||
stream.read( (char*) container.data(), datasize );
|
||||
stream.read( reinterpret_cast<char*>( container.data() ), datasize );
|
||||
}
|
||||
|
||||
//We need to be careful with string, because string.data() returns something that
|
||||
|
Loading…
Reference in New Issue
Block a user