From b64e10fcebaedad7bf00dd4428730ff56413d15a Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 27 Apr 2006 15:49:47 +0000 Subject: [PATCH] use guarded pointers --- src/Autopilot/route_mgr.hxx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Autopilot/route_mgr.hxx b/src/Autopilot/route_mgr.hxx index f38ab732f..0cc05250f 100644 --- a/src/Autopilot/route_mgr.hxx +++ b/src/Autopilot/route_mgr.hxx @@ -58,24 +58,24 @@ private: SGRoute *route; // automatic inputs - SGPropertyNode *lon; - SGPropertyNode *lat; - SGPropertyNode *alt; + SGPropertyNode_ptr lon; + SGPropertyNode_ptr lat; + SGPropertyNode_ptr alt; // automatic outputs - SGPropertyNode *true_hdg_deg; + SGPropertyNode_ptr true_hdg_deg; - SGPropertyNode *wp0_id; - SGPropertyNode *wp0_dist; - SGPropertyNode *wp0_eta; + SGPropertyNode_ptr wp0_id; + SGPropertyNode_ptr wp0_dist; + SGPropertyNode_ptr wp0_eta; - SGPropertyNode *wp1_id; - SGPropertyNode *wp1_dist; - SGPropertyNode *wp1_eta; + SGPropertyNode_ptr wp1_id; + SGPropertyNode_ptr wp1_dist; + SGPropertyNode_ptr wp1_eta; - SGPropertyNode *wpn_id; - SGPropertyNode *wpn_dist; - SGPropertyNode *wpn_eta; + SGPropertyNode_ptr wpn_id; + SGPropertyNode_ptr wpn_dist; + SGPropertyNode_ptr wpn_eta; public: