Melchior FRANZ: fix SGPropertyNode::LAST_USED_ATTRIBUTE

fixes commit c782a32076,
(also see 38494a48d8 :) )
This commit is contained in:
ThorstenB
2011-06-14 21:49:42 +02:00
parent 50cea4f64e
commit 708ae35068
2 changed files with 3 additions and 1 deletions

View File

@@ -642,7 +642,7 @@ SGPropertyNode::trace_read () const
* Last used attribute
* Update as needed when enum Attribute is changed
*/
const int SGPropertyNode::LAST_USED_ATTRIBUTE = USERARCHIVE;
const int SGPropertyNode::LAST_USED_ATTRIBUTE = PRESERVE;
/**
* Default constructor: always creates a root node.

View File

@@ -762,6 +762,8 @@ public:
TRACE_WRITE = 32,
USERARCHIVE = 64,
PRESERVE = 128
// beware: if you add another attribute here,
// also update value of "LAST_USED_ATTRIBUTE".
};