mirror of
https://github.com/Z3Prover/z3
synced 2026-01-25 03:24:01 +00:00
Revert "Merge pull request #8190 from Z3Prover/copilot/fix-std-format-usage"
This reverts commitd9bdb6b83c, reversing changes made to8b188621a5.
This commit is contained in:
parent
3bf271bb42
commit
d5e0216070
7 changed files with 104 additions and 87 deletions
|
|
@ -17,7 +17,6 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<sstream>
|
||||
#include<format>
|
||||
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/array_decl_plugin.h"
|
||||
|
|
@ -53,7 +52,9 @@ namespace datalog {
|
|||
if (low <= val && val <= up) {
|
||||
return true;
|
||||
}
|
||||
m_manager->raise_exception(std::format("{}, value is not within bound {} <= {} <= {}", msg, low, val, up));
|
||||
std::ostringstream buffer;
|
||||
buffer << msg << ", value is not within bound " << low << " <= " << val << " <= " << up;
|
||||
m_manager->raise_exception(buffer.str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue