]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATCDCL/atis.cxx
Initial commit of the new sound system, expect more updates to follow
[flightgear.git] / src / ATCDCL / atis.cxx
index ca9cfc7bc4ae3630c1cbee9260b9da674bb172eb..67c108f4bfaba8774a5ed6da6fb35cbc65ddba74 100644 (file)
@@ -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