From 2fb8999ac271c41791710c5b185e1ad27df93e4b Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Wed, 3 Oct 2012 22:04:47 +0200 Subject: [PATCH] scenery: remove default zero reader writer options argument. --- simgear/scene/material/Effect.hxx | 4 ++-- simgear/scene/sky/sky.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,