MCPcopy Create free account
hub / github.com/cinder/Cinder / unindent

Method unindent

src/jsoncpp/jsoncpp.cpp:3437–3440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3435void StyledWriter::indent() { indentString_ += std::string(indentSize_, ' '); }
3436
3437void StyledWriter::unindent() {
3438 assert(int(indentString_.size()) >= indentSize_);
3439 indentString_.resize(indentString_.size() - indentSize_);
3440}
3441
3442void StyledWriter::writeCommentBeforeValue(const Value& root) {
3443 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 3

assertFunction · 0.85
sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected