fixed a warning in AP_Var.h

index is in system headers as a string function

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2558 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
tridge60@gmail.com 2011-06-15 12:24:40 +00:00
parent edaf2b9641
commit 9cb9a54d64
1 changed files with 2 additions and 2 deletions

View File

@ -512,11 +512,11 @@ public:
/// @param flags Optional flags that may affect the behaviour of the variable.
///
AP_VarT<T> (AP_Var_group *with_group, // XXX maybe make this a ref?
Key index,
Key vindex,
T initial_value,
const prog_char_t *name = NULL,
Flags flags = k_flags_none) :
AP_Var(with_group, index, name, flags),
AP_Var(with_group, vindex, name, flags),
_value(initial_value)
{
_bytes_in_use += sizeof(*this);