serialize: use a temporary for SerializeException
authorLoïc Blot <loic.blot@unix-experience.fr>
Mon, 21 Aug 2017 14:07:39 +0000 (16:07 +0200)
committerLoïc Blot <loic.blot@unix-experience.fr>
Mon, 21 Aug 2017 14:07:39 +0000 (16:07 +0200)
commite2a6b7c8d29a674504f80b7948a71c4a36af4ad0
tree8d513fe60be9e4a0c0476ac3388c134a4bc5c928
parent1dd535c0c6a80f64e6663002b92b8b2025973217
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
src/util/serialize.cpp
src/util/serialize.h