mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
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.
|
/// @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?
|
AP_VarT<T> (AP_Var_group *with_group, // XXX maybe make this a ref?
|
||||||
Key index,
|
Key vindex,
|
||||||
T initial_value,
|
T initial_value,
|
||||||
const prog_char_t *name = NULL,
|
const prog_char_t *name = NULL,
|
||||||
Flags flags = k_flags_none) :
|
Flags flags = k_flags_none) :
|
||||||
AP_Var(with_group, index, name, flags),
|
AP_Var(with_group, vindex, name, flags),
|
||||||
_value(initial_value)
|
_value(initial_value)
|
||||||
{
|
{
|
||||||
_bytes_in_use += sizeof(*this);
|
_bytes_in_use += sizeof(*this);
|
||||||
|
Loading…
Reference in New Issue
Block a user