[MOS-245] Fix errant spaces

It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
This commit is contained in:
GravisZro
2022-02-23 09:55:54 -05:00
committed by Bartosz Cichocki
parent c7513c2c65
commit e59cd4036b
56 changed files with 243 additions and 249 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "SMSRecord.hpp"
@@ -170,7 +170,7 @@ bool SMSRecordInterface::Update(const SMSRecord &recUpdated)
// update thread details with the latest sms from given thread
auto latest_vec = GetLimitOffsetByField(0, 1, SMSRecordField ::ThreadID, std::to_string(thread.ID).c_str());
auto latest_vec = GetLimitOffsetByField(0, 1, SMSRecordField::ThreadID, std::to_string(thread.ID).c_str());
if (latest_vec->size() == 0) {
return false;
@@ -217,7 +217,7 @@ bool SMSRecordInterface::RemoveByID(uint32_t id)
else {
// update thread details if deleted SMS is the latest sms from the thread
auto twoLatest = GetLimitOffsetByField(0, 2, SMSRecordField ::ThreadID, std::to_string(threadRec.ID).c_str());
auto twoLatest = GetLimitOffsetByField(0, 2, SMSRecordField::ThreadID, std::to_string(threadRec.ID).c_str());
if (twoLatest->size() == 0) {
LOG_ERROR("Cannot fetch no SMSes even though thread's msgCount says so (id %lu)",