MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / indent

Method indent

tests/catch.hpp:6445–6448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6443 }
6444
6445 auto indent() const -> size_t {
6446 auto initial = m_pos == 0 && m_stringIndex == 0 ? m_column.m_initialIndent : std::string::npos;
6447 return initial == std::string::npos ? m_column.m_indent : initial;
6448 }
6449
6450 auto addIndentAndSuffix(std::string const &plain) const -> std::string {
6451 return std::string(indent(), ' ') + (m_suffix ? plain + "-" : plain);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected