]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/PropertyBasedElement.hxx
hla: Use raw pointers for HLAFederate::_insert methods.
[simgear.git] / simgear / props / PropertyBasedElement.hxx
index 23558e7090fc0e93a935631e71f32e2d6eeae1da..05dbcd1bae15d006d744bbf0929a29585e3d2028 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
 
 #ifndef SG_PROPERTY_BASED_ELEMENT_HXX_
 #define SG_PROPERTY_BASED_ELEMENT_HXX_
@@ -47,9 +47,9 @@ namespace simgear
       SGConstPropertyNode_ptr getProps() const;
       SGPropertyNode_ptr getProps();
 
-    protected:
+      virtual void setSelf(const PropertyBasedElementPtr& self);
 
-      friend class PropertyBasedMgr;
+    protected:
 
       SGPropertyNode_ptr _node;
       PropertyBasedElementWeakPtr _self;