From: Frederic Bouvier Date: Sat, 5 May 2012 09:19:20 +0000 (+0200) Subject: Remove redundant inclusion of math/SGMath.hxx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc37713a66345ce3e88d66dbc12a4b6b677134ad;p=simgear.git Remove redundant inclusion of math/SGMath.hxx --- diff --git a/simgear/math/interpolater.cxx b/simgear/math/interpolater.cxx index 1bbbadc8..7b956c95 100644 --- a/simgear/math/interpolater.cxx +++ b/simgear/math/interpolater.cxx @@ -36,8 +36,6 @@ #include "interpolater.hxx" -#include - using std::string; // Constructor -- starts with an empty table. diff --git a/simgear/misc/interpolator.cxx b/simgear/misc/interpolator.cxx index 04a898cc..e558cf52 100644 --- a/simgear/misc/interpolator.cxx +++ b/simgear/misc/interpolator.cxx @@ -22,8 +22,6 @@ #include "interpolator.hxx" -#include - void SGInterpolator::addNew(SGPropertyNode* prop, int nPoints) { // Set the property type to a double, if it isn't already, and diff --git a/simgear/props/condition.cxx b/simgear/props/condition.cxx index 363b9f46..3770049a 100644 --- a/simgear/props/condition.cxx +++ b/simgear/props/condition.cxx @@ -18,7 +18,6 @@ #include "props.hxx" #include "condition.hxx" -#include #include using std::istream; diff --git a/simgear/props/propertyObject.cxx b/simgear/props/propertyObject.cxx index ff87898e..f97209af 100644 --- a/simgear/props/propertyObject.cxx +++ b/simgear/props/propertyObject.cxx @@ -21,8 +21,6 @@ #include "propertyObject.hxx" -#include - #include namespace simgear diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 3aeaaf17..26a6c85e 100644 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -28,8 +28,6 @@ #include #include -#include - #if PROPS_STANDALONE #include #else diff --git a/simgear/props/props_io.cxx b/simgear/props/props_io.cxx index 297cad87..4cea23fa 100644 --- a/simgear/props/props_io.cxx +++ b/simgear/props/props_io.cxx @@ -18,7 +18,6 @@ #include #include -#include #include #include #include diff --git a/simgear/scene/bvh/BVHLineSegmentVisitor.cxx b/simgear/scene/bvh/BVHLineSegmentVisitor.cxx index 035cad7c..1b93cd09 100644 --- a/simgear/scene/bvh/BVHLineSegmentVisitor.cxx +++ b/simgear/scene/bvh/BVHLineSegmentVisitor.cxx @@ -19,7 +19,6 @@ # include #endif -#include #include "BVHLineSegmentVisitor.hxx" #include diff --git a/simgear/scene/material/EffectBuilder.cxx b/simgear/scene/material/EffectBuilder.cxx index 635fde36..7eb5580f 100644 --- a/simgear/scene/material/EffectBuilder.cxx +++ b/simgear/scene/material/EffectBuilder.cxx @@ -5,8 +5,6 @@ #include #include -#include - #include "EffectBuilder.hxx" #include "Effect.hxx" diff --git a/simgear/scene/material/EffectBuilder.hxx b/simgear/scene/material/EffectBuilder.hxx index a7c35ea1..c9b49e3d 100644 --- a/simgear/scene/material/EffectBuilder.hxx +++ b/simgear/scene/material/EffectBuilder.hxx @@ -31,7 +31,6 @@ #include #include -#include #include #include #include diff --git a/simgear/scene/material/matmodel.cxx b/simgear/scene/material/matmodel.cxx index 2ff665d9..f0f899c9 100644 --- a/simgear/scene/material/matmodel.cxx +++ b/simgear/scene/material/matmodel.cxx @@ -37,7 +37,6 @@ #include #include -#include #include #include #include diff --git a/simgear/scene/model/CheckSceneryVisitor.cxx b/simgear/scene/model/CheckSceneryVisitor.cxx index e0149c06..c36b881c 100644 --- a/simgear/scene/model/CheckSceneryVisitor.cxx +++ b/simgear/scene/model/CheckSceneryVisitor.cxx @@ -27,8 +27,6 @@ #include "CheckSceneryVisitor.hxx" -#include - using namespace simgear; CheckSceneryVisitor::CheckSceneryVisitor(osgDB::DatabasePager* dbp, const osg::Vec3 &position, double range, diff --git a/simgear/scene/model/ConditionNode.cxx b/simgear/scene/model/ConditionNode.cxx index 1ef46ae7..93a28cd1 100644 --- a/simgear/scene/model/ConditionNode.cxx +++ b/simgear/scene/model/ConditionNode.cxx @@ -24,8 +24,6 @@ #include #include -#include - namespace simgear { using namespace osg; diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index eba1e306..47a7a0dc 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -18,7 +18,6 @@ #include #include -#include #include #include #include diff --git a/simgear/scene/model/modellib.cxx b/simgear/scene/model/modellib.cxx index af72e363..281c6413 100644 --- a/simgear/scene/model/modellib.cxx +++ b/simgear/scene/model/modellib.cxx @@ -39,8 +39,6 @@ #include "modellib.hxx" -#include - using std::string; using namespace simgear; diff --git a/simgear/scene/model/particles.cxx b/simgear/scene/model/particles.cxx index 0b5f32c8..d461e08e 100644 --- a/simgear/scene/model/particles.cxx +++ b/simgear/scene/model/particles.cxx @@ -21,7 +21,6 @@ # include #endif -#include #include #include #include diff --git a/simgear/scene/model/persparam.cxx b/simgear/scene/model/persparam.cxx index 09440a38..e7f4dd52 100644 --- a/simgear/scene/model/persparam.cxx +++ b/simgear/scene/model/persparam.cxx @@ -9,8 +9,6 @@ #include #include "persparam.hxx" -#include - template <> double SGPersonalityParameter::getNodeValue( const SGPropertyNode *props, const char *name, diff --git a/simgear/scene/tgdb/SGReaderWriterBTG.cxx b/simgear/scene/tgdb/SGReaderWriterBTG.cxx index 5e2a94b7..ba53ee32 100644 --- a/simgear/scene/tgdb/SGReaderWriterBTG.cxx +++ b/simgear/scene/tgdb/SGReaderWriterBTG.cxx @@ -24,7 +24,6 @@ #include #include -#include #include "SGReaderWriterBTG.hxx" #include "obj.hxx" diff --git a/simgear/sound/sample_openal.cxx b/simgear/sound/sample_openal.cxx index 13e27145..ef4de1f2 100644 --- a/simgear/sound/sample_openal.cxx +++ b/simgear/sound/sample_openal.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include "soundmgr_openal.hxx" diff --git a/simgear/sound/sample_queue.cxx b/simgear/sound/sample_queue.cxx index 08cb3019..2e7c69c4 100644 --- a/simgear/sound/sample_queue.cxx +++ b/simgear/sound/sample_queue.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include "soundmgr_openal.hxx" #include "sample_queue.hxx" diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index 55647200..35d5b02e 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -44,7 +44,6 @@ #include #include #include -#include using std::string; using std::vector; diff --git a/simgear/sound/xmlsound.cxx b/simgear/sound/xmlsound.cxx index 2b914d59..51c04409 100644 --- a/simgear/sound/xmlsound.cxx +++ b/simgear/sound/xmlsound.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include diff --git a/simgear/structure/SGBinding.cxx b/simgear/structure/SGBinding.cxx index 836d7abc..8ca19034 100644 --- a/simgear/structure/SGBinding.cxx +++ b/simgear/structure/SGBinding.cxx @@ -14,8 +14,6 @@ #include #include "SGBinding.hxx" -#include - #include SGBinding::SGBinding() diff --git a/simgear/structure/commands.cxx b/simgear/structure/commands.cxx index 6b4b11ea..266cdb4c 100644 --- a/simgear/structure/commands.cxx +++ b/simgear/structure/commands.cxx @@ -13,7 +13,6 @@ #include "commands.hxx" -#include #include #include #include diff --git a/simgear/structure/event_mgr.cxx b/simgear/structure/event_mgr.cxx index f448a649..cd3de3b9 100644 --- a/simgear/structure/event_mgr.cxx +++ b/simgear/structure/event_mgr.cxx @@ -4,7 +4,6 @@ #include "event_mgr.hxx" -#include #include void SGEventMgr::add(const std::string& name, SGCallback* cb,