Internals: Refactor some JSON and error code

This commit is contained in:
Wilson Snyder
2025-05-13 22:26:15 -04:00
parent 3dfd53a549
commit 4c4fdb5dfe
7 changed files with 53 additions and 57 deletions
+1 -4
View File
@@ -108,10 +108,7 @@ template V3GraphEdge* V3GraphVertex::findConnectingEdgep<GraphWay::REVERSE>(V3Gr
void V3GraphVertex::v3errorEnd(std::ostringstream& str) const VL_RELEASE(V3Error::s().m_mutex) {
std::ostringstream nsstr;
nsstr << str.str();
if (debug()) {
nsstr << endl;
nsstr << "-vertex: " << this << endl;
}
if (debug()) nsstr << "\n-vertex: " << this << '\n';
if (FileLine* const flp = fileline()) {
flp->v3errorEnd(nsstr);
} else {