no C99 initializers

because MSVC doesn't support this...
This commit is contained in:
Michael Davidsaver
2017-07-17 15:58:04 +02:00
parent 87fa150ced
commit 443c254d46
2 changed files with 8 additions and 8 deletions

View File

@@ -236,10 +236,10 @@ epicsShareFunc
void parseJSON(std::istream& strm,
const PVField::shared_pointer& dest)
{
yajl_parser_config conf = {
.allowComments = 1,
.checkUTF8 = 1,
};
yajl_parser_config conf;
memset(&conf, 0, sizeof(conf));
conf.allowComments = 1;
conf.checkUTF8 = 1;
context ctxt(dest);