fix constant field dump
This commit is contained in:
@@ -965,7 +965,7 @@ void ConstantDataField::dump(bool prependFieldSeparator, OutputFormat outputForm
|
|||||||
dumpPrefix(prependFieldSeparator, outputFormat, output);
|
dumpPrefix(prependFieldSeparator, outputFormat, output);
|
||||||
// no divisor appended since it is not allowed for ConstantDataField
|
// no divisor appended since it is not allowed for ConstantDataField
|
||||||
if (outputFormat & OF_JSON) {
|
if (outputFormat & OF_JSON) {
|
||||||
appendJson(false, "value", m_value, true, output);
|
appendJson(true, "value", m_value, true, output);
|
||||||
*output << ", \"verify\": " << (m_verify ? "true" : "false");
|
*output << ", \"verify\": " << (m_verify ? "true" : "false");
|
||||||
} else {
|
} else {
|
||||||
*output << (m_verify?"==":"=") << m_value;
|
*output << (m_verify?"==":"=") << m_value;
|
||||||
|
|||||||
Reference in New Issue
Block a user