From: Mathias Froehlich Date: Wed, 3 Oct 2012 20:04:47 +0000 (+0200) Subject: scenery: remove default zero reader writer options argument. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2fb8999ac271c41791710c5b185e1ad27df93e4b;p=simgear.git scenery: remove default zero reader writer options argument. --- diff --git a/simgear/scene/material/Effect.hxx b/simgear/scene/material/Effect.hxx index 740ec9dd..cb4341bb 100644 --- a/simgear/scene/material/Effect.hxx +++ b/simgear/scene/material/Effect.hxx @@ -167,11 +167,11 @@ size_t hash_value(const Effect::Key&); Effect* makeEffect(const std::string& name, bool realizeTechniques, - const SGReaderWriterOptions* options = 0); + const SGReaderWriterOptions* options); Effect* makeEffect(SGPropertyNode* prop, bool realizeTechniques, - const SGReaderWriterOptions* options = 0); + const SGReaderWriterOptions* options); bool makeParametersFromStateSet(SGPropertyNode* paramRoot, const osg::StateSet* ss); diff --git a/simgear/scene/sky/sky.hxx b/simgear/scene/sky/sky.hxx index 6c603f3c..d9079bc1 100644 --- a/simgear/scene/sky/sky.hxx +++ b/simgear/scene/sky/sky.hxx @@ -277,7 +277,7 @@ public: void build( double h_radius_m, double v_radius_m, double sun_size, double moon_size, const SGEphemeris& eph, SGPropertyNode *property_tree_node, - simgear::SGReaderWriterOptions* options = 0); + simgear::SGReaderWriterOptions* options); /** * Repaint the sky components based on current value of sun_angle,