Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 612547901
  • Loading branch information
ckennelly authored and shantuo committed Mar 6, 2024
1 parent 3953945 commit e7a33c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/quipper/perf_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,7 @@ bool ByteSwapEventDataVariablePayloadFields(event_t* event) {
} // namespace

PerfReader::PerfReader()
: proto_(Arena::CreateMessage<PerfDataProto>(&arena_)),
is_cross_endian_(false) {
: proto_(Arena::Create<PerfDataProto>(&arena_)), is_cross_endian_(false) {
// The metadata mask is stored in |proto_|. It should be initialized to 0
// since it is used heavily.
proto_->add_metadata_mask(0);
Expand Down

0 comments on commit e7a33c4

Please sign in to comment.