MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / unindent

Method unindent

Source/ThirdParty/jsoncpp/src/lib_json/json_writer.cpp:579–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577void StyledWriter::indent() { indentString_ += JSONCPP_STRING(indentSize_, ' '); }
578
579void StyledWriter::unindent() {
580 assert(indentString_.size() >= indentSize_);
581 indentString_.resize(indentString_.size() - indentSize_);
582}
583
584void StyledWriter::writeCommentBeforeValue(const Value& root) {
585 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected