style
This commit is contained in:
@@ -457,7 +457,7 @@ void MainLoop::notifyDeviceData(const symbol_t symbol, bool received) {
|
||||
}
|
||||
if (symbol != SYN) {
|
||||
if (received && !m_logRawLastReceived && symbol == m_logRawLastSymbol) {
|
||||
return; // skip received echo of previously sent symbol
|
||||
return; // skip received echo of previously sent symbol
|
||||
}
|
||||
if (m_logRawBuffer.tellp() == 0 || received != m_logRawLastReceived) {
|
||||
m_logRawLastReceived = received;
|
||||
|
||||
@@ -2322,7 +2322,8 @@ vector<string> MessageMap::getLoadedFiles() const {
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool MessageMap::getLoadedFileInfo(const string filename, string& comment, size_t* hash, size_t* size, time_t* time) const {
|
||||
bool MessageMap::getLoadedFileInfo(const string filename, string& comment, size_t* hash, size_t* size, time_t* time)
|
||||
const {
|
||||
const auto it = m_loadedFileInfos.find(filename);
|
||||
if (it == m_loadedFileInfos.end()) {
|
||||
comment = "";
|
||||
|
||||
Reference in New Issue
Block a user