diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 18512f18..c94186cb 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -751,7 +751,7 @@ typedef SGSharedPtr SGConstPropertyNode_ptr; namespace simgear { -typedef std::vector PropertyList; + using PropertyList = std::vector; } /** diff --git a/simgear/props/propsfwd.hxx b/simgear/props/propsfwd.hxx index 87998b59..d62e19a7 100644 --- a/simgear/props/propsfwd.hxx +++ b/simgear/props/propsfwd.hxx @@ -1,3 +1,20 @@ +// Copyright (C) 2018 James Turner - +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// 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. +// + /** \file * * Forward declarations for properties (and related structures) @@ -7,12 +24,18 @@ #define SG_PROPS_FWD_HXX #include +#include class SGPropertyNode; typedef SGSharedPtr SGPropertyNode_ptr; typedef SGSharedPtr SGConstPropertyNode_ptr; +namespace simgear +{ + using PropertyList = std::vector; +} + class SGCondition; #endif // of SG_PROPS_FWD_HXX