mirror of https://github.com/ArduPilot/ardupilot
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:
parent
edaf2b9641
commit
9cb9a54d64
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue