]> git.mxchange.org Git - simgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Sun, 7 Jan 2007 12:25:32 +0000 (12:25 +0000)
committerfrohlich <frohlich>
Sun, 7 Jan 2007 12:25:32 +0000 (12:25 +0000)
SGSceneUserData.hxx SGSceneUserData.cxx: Remove default argument

simgear/scene/util/SGSceneUserData.cxx
simgear/scene/util/SGSceneUserData.hxx

index 037cd470a53dbdbd20f54633bbc3f8ebffcdf6d6..7d97c30813d103b9bc78b576a299342f1c1088f7 100644 (file)
@@ -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;
index 42657e55b653644b678c096c53b3027bf20898f6..8234ef488269a0e35ceb3e6df2383bd0cc931fd0 100644 (file)
@@ -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);