Skip to content

Commit

Permalink
z3++.h: No longer include unused sstream.
Browse files Browse the repository at this point in the history
This makes some code using the C++ API have to include `<sstream>`
if they used the functionality but didn't include it themselves.
  • Loading branch information
waywardmonkeys authored and NikolajBjorner committed Aug 5, 2022
1 parent e48474e commit 6835522
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Version 4.next
Version 4.11.0
==============
- 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
==============
Expand Down
1 change: 1 addition & 0 deletions examples/c++/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Copyright (c) 2015 Microsoft Corporation
--*/

#include <iostream>
#include <sstream>
#include<vector>
#include"z3++.h"

Expand Down
1 change: 1 addition & 0 deletions examples/tptp/tptp5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Copyright (c) 2015 Microsoft Corporation
#include <iostream>
#include <fstream>
#include <limits>
#include <sstream>
#include <string.h>
#include <cstdlib>
#include "z3++.h"
Expand Down
1 change: 0 additions & 1 deletion src/api/c++/z3++.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Copyright (c) 2012 Microsoft Corporation
#include<cassert>
#include<ostream>
#include<string>
#include<sstream>
#include<memory>
#include<vector>
#include<z3.h>
Expand Down
1 change: 1 addition & 0 deletions src/api/julia/z3jl.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "jlcxx/jlcxx.hpp"
#include <sstream>
#include "z3++.h"

using namespace z3;
Expand Down

0 comments on commit 6835522

Please sign in to comment.