Skip to content

Commit 8823b2c

Browse files
Support quoting of character variables
1 parent d885b88 commit 8823b2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: xml_pack_base.h

+3
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ namespace classdesc
169169
template <> inline void xml_packp(xml_pack_t& x,const string& d, bool& a)
170170
{x.pack(d, a? "true": "false");}
171171

172+
template <> inline void xml_packp(xml_pack_t& x,const string& d, char& a)
173+
{x.pack(d,classdesc::xml_quote(a));}
174+
172175
/**
173176
handle enums
174177
*/

0 commit comments

Comments
 (0)