mirror of https://github.com/davisking/dlib.git
Fixed a compile time bug that could occur when wide character strings were
serialized.
This commit is contained in:
parent
64f36ea160
commit
01fa1f223e
|
@ -652,6 +652,26 @@ namespace dlib
|
|||
std::istream& in
|
||||
);
|
||||
|
||||
inline void serialize (
|
||||
const std::wstring& item,
|
||||
std::ostream& out
|
||||
);
|
||||
|
||||
inline void deserialize (
|
||||
std::wstring& item,
|
||||
std::istream& in
|
||||
);
|
||||
|
||||
inline void serialize (
|
||||
const ustring& item,
|
||||
std::ostream& out
|
||||
);
|
||||
|
||||
inline void deserialize (
|
||||
ustring& item,
|
||||
std::istream& in
|
||||
);
|
||||
|
||||
template <
|
||||
typename T
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue