Skip to content

Commit eff2e6a

Browse files
kaikulimusyuzvinsky
authored andcommitted
mqbcmd::ParseUtil: Fix compile error on AIX and Solaris (bloomberg#233)
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
1 parent 84958d5 commit eff2e6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/groups/mqb/mqbcmd/mqbcmd_parseutil.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,15 @@ int parseEncodingFormat(EncodingFormat::Value* format,
309309
}
310310

311311
if (equalCaseless(word, "TEXT")) {
312-
*format = EncodingFormat::Value::TEXT;
312+
*format = EncodingFormat::TEXT;
313313
return 0; // RETURN
314314
}
315315
else if (equalCaseless(word, "JSON_COMPACT")) {
316-
*format = EncodingFormat::Value::JSON_COMPACT;
316+
*format = EncodingFormat::JSON_COMPACT;
317317
return 0; // RETURN
318318
}
319319
else if (equalCaseless(word, "JSON_PRETTY")) {
320-
*format = EncodingFormat::Value::JSON_PRETTY;
320+
*format = EncodingFormat::JSON_PRETTY;
321321
return 0; // RETURN
322322
}
323323

0 commit comments

Comments
 (0)