- fix some -Wall warnings

This commit is contained in:
acgessler
2012-07-08 03:28:14 +02:00
parent 8ec96d88c5
commit 879f2ed177
9 changed files with 18 additions and 23 deletions

View File

@@ -129,15 +129,15 @@ std::string PeekPropertyName(const Element& element)
// ------------------------------------------------------------------------------------------------
PropertyTable::PropertyTable()
: element()
, templateProps()
: templateProps()
, element()
{
}
// ------------------------------------------------------------------------------------------------
PropertyTable::PropertyTable(const Element& element, boost::shared_ptr<const PropertyTable> templateProps)
: element(&element)
, templateProps(templateProps)
: templateProps(templateProps)
, element(&element)
{
const Scope& scope = GetRequiredScope(element);
BOOST_FOREACH(const ElementMap::value_type& v, scope.Elements()) {