You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to serialize a class member of type std::map<std::string, ChLinkTSDA> with archive_out << CHNVP(map_);, but unfortunately, this led to a segmentation fault.
While looking for the cause of this, I came across another issue, which I wondered if was related to the first issue. If you want to do something like this
Hi everyone,
I tried to serialize a class member of type std::map<std::string, ChLinkTSDA> with archive_out << CHNVP(map_);, but unfortunately, this led to a segmentation fault.
While looking for the cause of this, I came across another issue, which I wondered if was related to the first issue. If you want to do something like this
a 'bad_alloc' exception is thrown. I could eliminate this by adding the following line to the copy constructor of ChLinkTSDA:
and change the copying of m_variables to:
But in the end, I couldn't solve the serialization problem. Maybe you have a solution.
Thanks and best regards,
Paul
The text was updated successfully, but these errors were encountered: