X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2FPropertyBasedMgr.cxx;h=397aa2b6223a94ad81d78c38f4dd7eb382ed70e4;hb=b99f53fda3b06378668bdccd4a9d07161f263366;hp=893eb34b9f0e59b05a8ee45f805e3edba1ec9fb3;hpb=5330dc34bcde0b3d01490fdbc05af4435a0d111c;p=simgear.git diff --git a/simgear/props/PropertyBasedMgr.cxx b/simgear/props/PropertyBasedMgr.cxx index 893eb34b..397aa2b6 100644 --- a/simgear/props/PropertyBasedMgr.cxx +++ b/simgear/props/PropertyBasedMgr.cxx @@ -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 "PropertyBasedMgr.hxx" @@ -75,7 +75,7 @@ namespace simgear ); PropertyBasedElementPtr el = _element_factory(child); - el->_self = el; + el->setSelf( el ); _elements[index] = el; elementCreated( el ); }