diff --git a/libraries/AP_Common/AP_Var.h b/libraries/AP_Common/AP_Var.h index cdf2688533..0e96662814 100644 --- a/libraries/AP_Common/AP_Var.h +++ b/libraries/AP_Common/AP_Var.h @@ -675,6 +675,12 @@ public: return _value; } + /// Value getter + /// + const T& get() const { + return _value; + } + /// Value setter /// void set(T v) {