using std::cout;
using std::cout;
using boost::ref;
-using boost::make_tuple;
+using boost::tie;
FGATIS::FGATIS() :
- transmission(""),
- trans_ident(""),
old_volume(0),
atis_failed(false),
+ msg_OK(0),
attention(0),
_prev_display(0),
refname("atis")
{
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
// be relatively-more acceptable to the primitive tts system.
// Note that : ; and . are among the token-delimeters recognized
// by the tts system.
- for (unsigned int where;;) {
+ for (size_t where;;) {
where = transmission.find_first_of(":.");
if (where == string::npos) break;
transmission.replace(where, 1, " /_ ");