Amend 85946aae: should compile also with g++.

This commit is contained in:
Thibaut Cuvelier 2020-08-01 00:41:58 +02:00
parent 85946aae2b
commit 0be32e3b98

View File

@ -75,7 +75,7 @@ docstring escapeChar(char c, XMLStream::EscapeSettings e)
}
docstring xml::escapeString(docstring const & raw, XMLStream::EscapeSettings e)
docstring escapeString(docstring const & raw, XMLStream::EscapeSettings e)
{
docstring bin;
bin.reserve(raw.size() * 2); // crude approximation is sufficient