Minor formatting...

This commit is contained in:
Thomas Geymayer 2014-02-08 19:15:46 +01:00
parent 4a10806352
commit 781682f4ee
2 changed files with 5 additions and 5 deletions

View File

@ -21,14 +21,14 @@
namespace simgear
{
//------------------------------------------------------------------------------
//----------------------------------------------------------------------------
PropertyBasedElement::PropertyBasedElement(SGPropertyNode* node):
_node(node)
{
_node->addChangeListener(this);
}
//------------------------------------------------------------------------------
//----------------------------------------------------------------------------
PropertyBasedElement::~PropertyBasedElement()
{
onDestroy();
@ -53,13 +53,13 @@ namespace simgear
->removeChild(_node->getName(), _node->getIndex(), false);
}
//------------------------------------------------------------------------------
//----------------------------------------------------------------------------
SGConstPropertyNode_ptr PropertyBasedElement::getProps() const
{
return _node;
}
//------------------------------------------------------------------------------
//----------------------------------------------------------------------------
SGPropertyNode_ptr PropertyBasedElement::getProps()
{
return _node;

View File

@ -369,7 +369,7 @@ SGReadExpression(SGPropertyNode *inputRoot, const SGPropertyNode *expression)
SG_LOG(SG_IO, SG_ALERT, "Cannot read \"" << name << "\" expression: no input found");
return 0;
}
SGSharedPtr<SGExpression<T> > inputExpression;
inputExpression = SGReadExpression<T>(inputRoot, inputNode);
if (!inputExpression) {