Revert to narrow character logging

This commit is contained in:
Bill Somerville
2020-09-27 16:52:19 +01:00
parent 6ab7889cd4
commit fe4c2b59ee
12 changed files with 94 additions and 94 deletions
+6 -6
View File
@@ -23,14 +23,14 @@ QDebug operator << (QDebug d, Transceiver::TransceiverState const& s)
}
#endif
std::wostream& operator << (std::wostream& os, Transceiver::TransceiverState const& s)
std::ostream& operator << (std::ostream& os, Transceiver::TransceiverState const& s)
{
return os
<< L"Transceiver::TransceiverState(online: " << (s.online_ ? L"yes" : L"no")
<< L" Frequency {" << s.rx_frequency_ << L"Hz, " << s.tx_frequency_ << L"Hz} " << s.mode_
<< L"; SPLIT: " << (Transceiver::TransceiverState::Split::on == s.split_ ? L"on" : Transceiver::TransceiverState::Split::off == s.split_ ? L"off" : L"unknown")
<< L"; PTT: " << (s.ptt_ ? L"on" : L"off")
<< L')';
<< "Transceiver::TransceiverState(online: " << (s.online_ ? "yes" : "no")
<< " Frequency {" << s.rx_frequency_ << "Hz, " << s.tx_frequency_ << "Hz} " << s.mode_
<< "; SPLIT: " << (Transceiver::TransceiverState::Split::on == s.split_ ? "on" : Transceiver::TransceiverState::Split::off == s.split_ ? "off" : "unknown")
<< "; PTT: " << (s.ptt_ ? "on" : "off")
<< ')';
}
ENUM_QDATASTREAM_OPS_IMPL (Transceiver, MODE);