Draft, Import, area: include iosfwd instead of iostream if forward declarations are sufficient

This commit is contained in:
wmayer
2022-03-01 12:37:00 +01:00
parent 9805bceec4
commit 6ae3feedae
6 changed files with 21 additions and 18 deletions

View File

@@ -3,6 +3,9 @@
// This program is released under the BSD license. See the file COPYING for details.
#include "dxf.h"
#include <fstream>
#include <sstream>
#include <iostream>
using namespace std;
static const double Pi = 3.14159265358979323846264338327950288419716939937511;

View File

@@ -8,12 +8,10 @@
#include <vector>
#include <map>
#include <set>
#include <fstream>
#include <sstream>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <iosfwd>
#include <cstdio>
#include <cstring>
#include <cmath>
//Following is required to be defined on Ubuntu with OCC 6.3.1
#ifndef HAVE_IOSTREAM

View File

@@ -10,6 +10,9 @@
#include <cmath>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <iostream>
#include <App/Application.h>
#include <Base/Console.h>

View File

@@ -13,12 +13,10 @@
#include <vector>
#include <map>
#include <set>
#include <fstream>
#include <sstream>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <iosfwd>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <Base/Vector3D.h>

View File

@@ -4,6 +4,9 @@
// This program is released under the BSD license. See the file COPYING for details.
#include "dxf.h"
#include <fstream>
#include <sstream>
#include <iostream>
using namespace std;
static const double Pi = 3.14159265358979323846264338327950288419716939937511;

View File

@@ -8,12 +8,10 @@
#include <vector>
#include <map>
#include <set>
#include <fstream>
#include <sstream>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <iosfwd>
#include <cstdio>
#include <cstring>
#include <cmath>
//Following is required to be defined on Ubuntu with OCC 6.3.1
#ifndef HAVE_IOSTREAM