From f4a8570cdd859a270935f094ecd78327a4ae6be9 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Sat, 19 Sep 2009 23:55:09 +0200 Subject: [PATCH] use boost::tie instead of make_ref --- src/ATCDCL/atis.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ATCDCL/atis.cxx b/src/ATCDCL/atis.cxx index ca9cfc7bc..67c108f4b 100644 --- a/src/ATCDCL/atis.cxx +++ b/src/ATCDCL/atis.cxx @@ -60,7 +60,7 @@ using std::cout; using std::cout; using boost::ref; -using boost::make_tuple; +using boost::tie; FGATIS::FGATIS() : transmission(""), @@ -380,7 +380,7 @@ int FGATIS::GenTransmission(const int regen, const int special) { { double press, temp; - make_tuple(ref(press), ref(temp)) = PT_vs_hpt(_geod.getElevationM(), Psl*inHg, Tsl + freezing); + tie(press, temp) = PT_vs_hpt(_geod.getElevationM(), Psl*inHg, Tsl + freezing); #if 0 SG_LOG(SG_ATC, SG_ALERT, "Field P: " << press << " T: " << temp); SG_LOG(SG_ATC, SG_ALERT, "based on elev " << elev -- 2.39.5