3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-04-26 08:47:05 +02:00
parent cf2258a536
commit a04921dafe

View file

@ -177,7 +177,7 @@ zstring zstring::replace(zstring const& src, zstring const& dst) const {
return zstring(*this);
}
if (src.length() == 0) {
return zstring(*this);
return dst + zstring(*this);
}
bool found = false;
for (unsigned i = 0; i < length(); ++i) {