From d81c95184901b5e878d7a8455572081bd0fb5c91 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Wed, 29 Feb 2012 22:46:29 +0900 Subject: [PATCH] AP_Baro - fixed small compiler warning to do with order of parameters in constructor --- libraries/AP_Baro/AP_Baro_BMP085.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Baro/AP_Baro_BMP085.h b/libraries/AP_Baro/AP_Baro_BMP085.h index 06cd3ff1d1..b7d5ede9b5 100644 --- a/libraries/AP_Baro/AP_Baro_BMP085.h +++ b/libraries/AP_Baro/AP_Baro_BMP085.h @@ -11,9 +11,9 @@ class AP_Baro_BMP085 : public AP_Baro { public: AP_Baro_BMP085(bool apm2_hardware): + _apm2_hardware(apm2_hardware), _temp_index(0), - _press_index(0), - _apm2_hardware(apm2_hardware){}; // Constructor + _press_index(0){}; // Constructor /* AP_Baro public interface: */