From: frohlich Date: Sun, 7 Jan 2007 12:25:32 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c043bd3422162b100852bc0ceb9a23c96ca1eb0c;p=simgear.git Modified Files: SGSceneUserData.hxx SGSceneUserData.cxx: Remove default argument --- diff --git a/simgear/scene/util/SGSceneUserData.cxx b/simgear/scene/util/SGSceneUserData.cxx index 037cd470..7d97c308 100644 --- a/simgear/scene/util/SGSceneUserData.cxx +++ b/simgear/scene/util/SGSceneUserData.cxx @@ -61,7 +61,7 @@ SGSceneUserData::getNumPickCallbacks() const } SGPickCallback* -SGSceneUserData::getPickCallback(unsigned i = 0) const +SGSceneUserData::getPickCallback(unsigned i) const { if (_pickCallbacks.size() <= i) return 0; diff --git a/simgear/scene/util/SGSceneUserData.hxx b/simgear/scene/util/SGSceneUserData.hxx index 42657e55..8234ef48 100644 --- a/simgear/scene/util/SGSceneUserData.hxx +++ b/simgear/scene/util/SGSceneUserData.hxx @@ -35,7 +35,7 @@ public: /// Access to the pick callbacks of a node. unsigned getNumPickCallbacks() const; - SGPickCallback* getPickCallback(unsigned i = 0) const; + SGPickCallback* getPickCallback(unsigned i) const; void setPickCallback(SGPickCallback* pickCallback); void addPickCallback(SGPickCallback* pickCallback);