From 9cb9a54d6411fc1445fabf53fd3bbca52f552342 Mon Sep 17 00:00:00 2001 From: "tridge60@gmail.com" Date: Wed, 15 Jun 2011 12:24:40 +0000 Subject: [PATCH] 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 --- libraries/AP_Common/AP_Var.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Common/AP_Var.h b/libraries/AP_Common/AP_Var.h index 202e60e51d..8cb493257a 100644 --- a/libraries/AP_Common/AP_Var.h +++ b/libraries/AP_Common/AP_Var.h @@ -512,11 +512,11 @@ public: /// @param flags Optional flags that may affect the behaviour of the variable. /// AP_VarT (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);