mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-24 17:29:54 +00:00
修改代码格式
Signed-off-by: wangzhaohao <wangzhaohao@huawei.com>
This commit is contained in:
parent
a3834bbd23
commit
74208f7a9f
@ -146,7 +146,8 @@ void KvDataChangeListener::HandleDeleteChange(const std::vector<DistributedKv::E
|
||||
}
|
||||
}
|
||||
|
||||
void KvDataChangeListener::SelectChangeType(const std::vector<DistributedKv::Entry>& records) {
|
||||
void KvDataChangeListener::SelectChangeType(const std::vector<DistributedKv::Entry>& records)
|
||||
{
|
||||
LNN_LOGI(LNN_LEDGER, "call! recordsSize=%{public}zu", records.size());
|
||||
auto innerRecords(records);
|
||||
while (!innerRecords.empty()) {
|
||||
@ -171,7 +172,8 @@ void KvDataChangeListener::SelectChangeType(const std::vector<DistributedKv::Ent
|
||||
}
|
||||
}
|
||||
|
||||
std::string KvDataChangeListener::GetKeyPrefix(const std::string& key) {
|
||||
std::string KvDataChangeListener::GetKeyPrefix(const std::string& key)
|
||||
{
|
||||
std::size_t pos1 = key.find('#');
|
||||
if (pos1 == std::string::npos) {
|
||||
return "";
|
||||
|
Loading…
Reference in New Issue
Block a user