3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 04:03:39 +00:00

z3++.h: No longer include unused sstream.

This makes some code using the C++ API have to include `<sstream>`
if they used the functionality but didn't include it themselves.
This commit is contained in:
Bruce Mitchener 2022-08-04 23:49:39 +07:00 committed by Nikolaj Bjorner
parent e48474ec0e
commit 6835522a7f
5 changed files with 4 additions and 1 deletions

View file

@ -13,6 +13,7 @@ Version 4.next
Version 4.11.0 Version 4.11.0
============== ==============
- remove `Z3_bool`, `Z3_TRUE`, `Z3_FALSE` from the API. Use `bool`, `true`, `false` instead. - remove `Z3_bool`, `Z3_TRUE`, `Z3_FALSE` from the API. Use `bool`, `true`, `false` instead.
- z3++.h no longer includes `<sstream>` as it did not use it.
Version 4.10.2 Version 4.10.2
============== ==============

View file

@ -5,6 +5,7 @@ Copyright (c) 2015 Microsoft Corporation
--*/ --*/
#include <iostream> #include <iostream>
#include <sstream>
#include<vector> #include<vector>
#include"z3++.h" #include"z3++.h"

View file

@ -15,6 +15,7 @@ Copyright (c) 2015 Microsoft Corporation
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#include <limits> #include <limits>
#include <sstream>
#include <string.h> #include <string.h>
#include <cstdlib> #include <cstdlib>
#include "z3++.h" #include "z3++.h"

View file

@ -23,7 +23,6 @@ Notes:
#include<cassert> #include<cassert>
#include<ostream> #include<ostream>
#include<string> #include<string>
#include<sstream>
#include<memory> #include<memory>
#include<vector> #include<vector>
#include<z3.h> #include<z3.h>

View file

@ -1,4 +1,5 @@
#include "jlcxx/jlcxx.hpp" #include "jlcxx/jlcxx.hpp"
#include <sstream>
#include "z3++.h" #include "z3++.h"
using namespace z3; using namespace z3;