1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

serialize: use a temporary for SerializeException Exception must always use temporary instead of global copied exception instances, it's not recommended and should have undefined issues

This commit is contained in:
Loïc Blot 2017-08-21 16:07:39 +02:00 committed by SmallJoker
parent 12562be393
commit d9c7af109a
2 changed files with 2 additions and 6 deletions

View file

@ -28,8 +28,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <iomanip>
#include <vector>
SerializationError eof_ser_err("Attempted read past end of data");
////
//// BufReader
////