mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 05:43:39 +00:00
Minor fixes to ast_pp_dot
This commit is contained in:
parent
247c570e6b
commit
10106e8e12
2 changed files with 10 additions and 4 deletions
|
@ -9,7 +9,8 @@ Abstract: Pretty-printer for proofs in Graphviz format
|
|||
#include "ast/ast_pp_dot.h"
|
||||
|
||||
// string escaping for DOT
|
||||
std::string escape_dot(std::string const & s) {
|
||||
std::string escape_dot(const std::string &s)
|
||||
{
|
||||
std::string res;
|
||||
res.reserve(s.size()); // preallocate
|
||||
for (auto c : s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue