summaryrefslogtreecommitdiff
path: root/tools/stats_log_api_gen/Collation.cpp
diff options
context:
space:
mode:
authorMuhammad Qureshi <muhammadq@google.com>2020-03-20 10:55:46 -0700
committerMuhammad Qureshi <muhammadq@google.com>2020-03-20 10:55:46 -0700
commitf77913fbc681bd5a10f950edd004a4fd2deedf77 (patch)
treef64306f81a7d715eab9ec939afa3ab7318c44547 /tools/stats_log_api_gen/Collation.cpp
parent707263d99cc708bfa4dc0ed275f248acbd6e0044 (diff)
Remove kBytesFieldAtoms from atoms_info
Bug: 150415347 Test: m Test: bit statsd_test:* Change-Id: I2e55b445121a39e3bf12164cd9123561e8b5bd4c
Diffstat (limited to 'tools/stats_log_api_gen/Collation.cpp')
-rw-r--r--tools/stats_log_api_gen/Collation.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/stats_log_api_gen/Collation.cpp b/tools/stats_log_api_gen/Collation.cpp
index f31a2af87b2b..47eb63e823e7 100644
--- a/tools/stats_log_api_gen/Collation.cpp
+++ b/tools/stats_log_api_gen/Collation.cpp
@@ -55,8 +55,7 @@ AtomDecl::AtomDecl(const AtomDecl &that)
resetState(that.resetState),
nested(that.nested),
uidField(that.uidField),
- whitelisted(that.whitelisted),
- binaryFields(that.binaryFields) {}
+ whitelisted(that.whitelisted) {}
AtomDecl::AtomDecl(int c, const string& n, const string& m)
:code(c),
@@ -422,10 +421,6 @@ int collate_atom(const Descriptor *atom, AtomDecl *atomDecl,
continue;
}
}
- // Binary field validity is already checked above.
- if (isBinaryField) {
- atomDecl->binaryFields.push_back(it->first);
- }
}
return errorCount;