OSDN Git Service

Adapt to google::protobuf::int64 type change and scoped_ptr removal
authorColin Cross <ccross@android.com>
Wed, 14 Aug 2019 00:03:15 +0000 (17:03 -0700)
committerColin Cross <ccross@android.com>
Thu, 5 Sep 2019 21:46:16 +0000 (14:46 -0700)
commit43b95eae1e56d289640160a451acc3a8fbfe15b2
tree97105ac05ffd730f6e81724369f34aeecf23d950
parent3342738e82b07afeccf0bc9962ff047093335a1f
Adapt to google::protobuf::int64 type change and scoped_ptr removal

Protobuf 3.9.1 redefines google::protobuf::int64 from long long to
int64_t, which is sometimes long and sometimes long long.  Use
PRId64 to print it.

scoped_ptr has been removed, use std::unique_ptr instead.

Bug: 117607748
Test: m checkbuild
Change-Id: Idfcaba262c27cf2b895a0a6ded8394c8465547e8
Merged-In: Idfcaba262c27cf2b895a0a6ded8394c8465547e8
boottime_tools/bootio/bootio_collector.cpp
libjsonpb/parse/jsonpb.cpp