Merge "storaged: fix regression found in unit-test"

This commit is contained in:
Jin Qian 2017-11-07 07:54:16 +00:00 committed by Android (Google) Code Review
commit 0700f3b863
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ void get_io_usage_proto(io_usage* usage, const IOUsage& io_proto)
void uid_monitor::update_uid_io_proto(unordered_map<int, StoragedProto>* protos)
{
for (auto it : *protos) {
for (auto& it : *protos) {
it.second.mutable_uid_io_usage()->Clear();
}