diff options
author | Tim King <taking@google.com> | 2017-07-13 17:35:00 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2017-07-13 17:35:00 -0700 |
commit | a94318b0b1f0c4b8a2a4d6757b073626af06deea (patch) | |
tree | 848beed0fc906131d2998b3018116ccc3e855e7e /src/theory/strings/regexp_operation.cpp | |
parent | 21f1b73de084ec182718240010c5e4abb05bff5b (diff) |
Cleaning up the CVC4::String class.
Diffstat (limited to 'src/theory/strings/regexp_operation.cpp')
-rw-r--r-- | src/theory/strings/regexp_operation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/strings/regexp_operation.cpp b/src/theory/strings/regexp_operation.cpp index ec788fa78..a98a2a0ef 100644 --- a/src/theory/strings/regexp_operation.cpp +++ b/src/theory/strings/regexp_operation.cpp @@ -1326,14 +1326,14 @@ void RegExpOpr::getCharSet( Node r, std::set<unsigned char> &pcset, SetNodes &pv Node st = Rewriter::rewrite(r[0]); if(st.isConst()) { CVC4::String s = st.getConst< CVC4::String >(); - s.getCharSet( cset ); + cset.insert(s.getVec().begin(), s.getVec().end()); } else if(st.getKind() == kind::VARIABLE) { vset.insert( st ); } else { for(unsigned i=0; i<st.getNumChildren(); i++) { if(st[i].isConst()) { CVC4::String s = st[i].getConst< CVC4::String >(); - s.getCharSet( cset ); + cset.insert(s.getVec().begin(), s.getVec().end()); } else { vset.insert( st[i] ); } |