Re-order class members to avoid initializer-order warnings.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2073 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok 2011-05-02 05:56:21 +00:00
parent 71604405f4
commit 701157c350
1 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,9 @@
/// @class RC_Channel
/// @brief Object managing one RC channel
class RC_Channel{
private:
AP_Var_group _group; // must be before all vars to keep ctor init order correct
public:
/// Constructor
///
@ -91,7 +94,6 @@ class RC_Channel{
float scale_output;
private:
AP_Var_group _group;
bool _filter;
int8_t _reverse;