final fixes for SG_USING_STD removal
This commit is contained in:
@@ -141,10 +141,5 @@ inline int (isnan)(double r) { return !(r <= 0 || r >= 0); }
|
||||
// No user modifiable definitions beyond here.
|
||||
//
|
||||
|
||||
/** \def SG_USING_STD(x)
|
||||
* Expands to using std::X
|
||||
*/
|
||||
# define SG_USING_STD(X) using std::X
|
||||
|
||||
#endif // _SG_COMPILER_H
|
||||
|
||||
|
||||
@@ -43,9 +43,8 @@
|
||||
#include "sg_binobj.hxx"
|
||||
|
||||
|
||||
SG_USING_STD( string );
|
||||
SG_USING_STD( vector );
|
||||
|
||||
using std::string;
|
||||
using std::vector;
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
#if ( _MSC_VER == 1200 )
|
||||
// MSVC 6 is buggy, and needs something strange here
|
||||
SG_USING_STD(vector<SGPropertyNode_ptr>);
|
||||
SG_USING_STD(vector<SGPropertyChangeListener *>);
|
||||
SG_USING_STD(vector<SGPropertyNode *>);
|
||||
using std::vector<SGPropertyNode_ptr>;
|
||||
using std::vector<SGPropertyChangeListener *>;
|
||||
using std::vector<SGPropertyNode *>;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
#define USE_SOFTWARE_DOPPLER seem to be necessary
|
||||
#endif
|
||||
|
||||
SG_USING_STD(string);
|
||||
using std::string;
|
||||
|
||||
/**
|
||||
* manages everything we need to know for an individual sound sample
|
||||
|
||||
@@ -28,9 +28,10 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
|
||||
using std::map;
|
||||
using std::vector;
|
||||
using std::string;
|
||||
|
||||
#include <simgear/props/props.hxx>
|
||||
#include <simgear/timing/timestamp.hxx>
|
||||
|
||||
Reference in New Issue
Block a user