Browse Source

AP_Curve: remove wrong comment about PSTR

Not being able to leave the instantiation in ther header is not because
of PSTR issues, but basically because the instantiation needs to be in a
compilation unit, not in the header itself.
master
Lucas De Marchi 9 years ago committed by Randy Mackay
parent
commit
1ce03c53a6
  1. 3
      libraries/AP_Curve/AP_Curve.h

3
libraries/AP_Curve/AP_Curve.h

@ -42,8 +42,7 @@ protected:
/* Typedefs for template instansations of AP_Curve. /* Typedefs for template instansations of AP_Curve.
* Only use the AP_Curve instances listed here! * Only use the AP_Curve instances listed here!
* If you need a different one, you must first instantiate the template at the * If you need a different one, you must first instantiate the template at the
* end of AP_Curve.cpp, then add a typedef here. We can't leave the whole * end of AP_Curve.cpp, then add a typedef here.
* template implementation in the header due to PSTR related issues.
*/ */
typedef AP_Curve<int16_t,3> AP_CurveInt16_Size3; typedef AP_Curve<int16_t,3> AP_CurveInt16_Size3;

Loading…
Cancel
Save