summaryrefslogtreecommitdiff
path: root/src/printer/smt2/smt2_printer.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-02-29 12:36:08 -0600
committerGitHub <noreply@github.com>2020-02-29 12:36:08 -0600
commit1117b3e69b16c992c5f41ff3f2873ac40fce2cff (patch)
tree2a188a284b3ae06124a28296ecc79307284c507c /src/printer/smt2/smt2_printer.cpp
parentee75ebf00e1aa463656cd192e52d3aec224345c0 (diff)
Convert more uses of string to word (#3834)
Diffstat (limited to 'src/printer/smt2/smt2_printer.cpp')
-rw-r--r--src/printer/smt2/smt2_printer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp
index e3a65ca3f..87ddf6168 100644
--- a/src/printer/smt2/smt2_printer.cpp
+++ b/src/printer/smt2/smt2_printer.cpp
@@ -202,11 +202,9 @@ void Smt2Printer::toStream(std::ostream& out,
}
case kind::CONST_STRING: {
- //const std::vector<unsigned int>& s = n.getConst<String>().getVec();
std::string s = n.getConst<String>().toString(true);
out << '"';
for(size_t i = 0; i < s.size(); ++i) {
- //char c = String::convertUnsignedIntToChar(s[i]);
char c = s[i];
if(c == '"') {
if(d_variant == smt2_0_variant) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback