Skip to content

Commit e9787cf

Browse files
author
huangxiyuan
committed
remove iostream
1 parent 0d5a1b4 commit e9787cf

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ thirdparty class
375375
376376
```c++
377377
#include <sys/time.h>
378+
#include <iostream>
378379
#include "x2struct/x2struct.hpp"
379380
380381
using namespace std;

README.zh-cn.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ int main(int argc, char *argv[]) {
373373
374374
```c++
375375
#include <sys/time.h>
376+
#include <iostream>
376377
#include "x2struct/x2struct.hpp"
377378
378379
using namespace std;

util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include <string>
2121
#include <vector>
22-
#include <iostream>
22+
//#include <iostream>
2323

2424
#include <stdint.h>
2525
#include <stdio.h>

xml_reader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <vector>
2222
#include <stdexcept>
2323
#include <fstream>
24-
#include <iostream>
24+
//#include <iostream>
2525

2626
#include <string.h>
2727

xml_writer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <vector>
2222
#include <set>
2323
#include <map>
24-
#include <iostream>
24+
//#include <iostream>
2525

2626
#include <string.h>
2727

xreader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <vector>
2626
#include <set>
2727
#include <stdexcept>
28-
#include <iostream>
28+
//#include <iostream>
2929

3030
#ifdef XTOSTRUCT_SUPPORT_CHAR_ARRAY
3131
#include <string.h>

0 commit comments

Comments
 (0)