Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
- Loading branch information
Showing
with
2 additions
and 6 deletions.
- +0 −2 src/util/serialize.cpp
- +2 −4 src/util/serialize.h