Skip to content

Commit c53857b

Browse files
[C++] fix STL header includes for NodeImpl.cc and Stream.cc (#3471)
MSVC complains about missing symbols: ``` lang/c++/impl/Stream.cc(183): error C2039: 'back_inserter': is not a member of 'std' lang/c++/impl/Stream.cc(183): error C3861: 'back_inserter': identifier not found ``` Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
1 parent 6842191 commit c53857b

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

lang/c++/impl/NodeImpl.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@
1717
*/
1818

1919
#include "NodeImpl.hh"
20-
#include <sstream>
20+
21+
#include <cctype>
22+
#include <locale>
23+
#include <ostream>
24+
#include <string>
2125
#include <utility>
26+
#include <vector>
2227

2328
using std::string;
2429
namespace avro {

lang/c++/impl/Stream.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
*/
1818

1919
#include "Stream.hh"
20+
21+
#include <algorithm>
22+
#include <iterator>
23+
#include <memory>
2024
#include <vector>
2125

2226
namespace avro {

0 commit comments

Comments
 (0)