[interprocess] managed_memory_impl.hpp

This file contains at line 246: return instream.read(detail::char_ptr_cast(this->get_address()), (std::streamsize)this->get_size).good(); This most probably should read this->get_size(), but as no compiler besides cxx caught this error, I'm wondering if this code is ever used at all? Regards, Markus

Markus Schöpflin escribió:
This file contains at line 246:
return instream.read(detail::char_ptr_cast(this->get_address()), (std::streamsize)this->get_size).good();
This most probably should read this->get_size(), but as no compiler besides cxx caught this error, I'm wondering if this code is ever used at all?
You are right, the code is not being used. I will remove it.
Regards, Markus
Regards, Ion
participants (2)
-
Ion Gaztañaga
-
Markus Schöpflin