]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/PropertyBasedElement.cxx
hla: Use raw pointers for HLAFederate::_insert methods.
[simgear.git] / simgear / props / PropertyBasedElement.cxx
index 88a0ad2ce52c7bec7a980e1a06a3f44457f54b74..b1667e8c80623a85ae13a0b5cf7cd5244e261ac4 100644 (file)
@@ -12,9 +12,9 @@
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Library General Public License for more details.
 //
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
 
 #include "PropertyBasedElement.hxx"
 
@@ -46,4 +46,10 @@ namespace simgear
     return _node;
   }
 
+  //----------------------------------------------------------------------------
+  void PropertyBasedElement::setSelf(const PropertyBasedElementPtr& self)
+  {
+    _self = self;
+  }
+
 } // namespace simgear