commit | 6cacbcbf436be744a34f7ea0d4f838ff97757446 | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Fri Mar 30 14:04:52 2018 -0700 |
committer | Yi Jin <jinyithu@google.com> | Fri Mar 30 17:36:49 2018 -0700 |
tree | 776d8808c385eff13b39097a1b64585df88959e3 | |
parent | 6a8ea4fe24dc0116de74a19b3d2a5fe89d0d1736 [diff] [blame] |
Use modern c++ code style for incidentd. This cl does not contain code logic changes. Bug: 77333635 Test: manual and incidentd_test Change-Id: Iea0a402b1051defd45159ca267e6dd705f9ffa49
diff --git a/libs/protoutil/src/ProtoOutputStream.cpp b/libs/protoutil/src/ProtoOutputStream.cpp index a040bd2..015727a 100644 --- a/libs/protoutil/src/ProtoOutputStream.cpp +++ b/libs/protoutil/src/ProtoOutputStream.cpp
@@ -173,7 +173,7 @@ } bool -ProtoOutputStream::write(uint64_t fieldId, string val) +ProtoOutputStream::write(uint64_t fieldId, std::string val) { if (mCompact) return false; const uint32_t id = (uint32_t)fieldId;