Skip to content

Commit

Permalink
perfetto.cc: InlineChunk is now constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale committed Jul 11, 2024
1 parent cc0e951 commit 5e9f8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiling/perfetto-connector/perfetto/perfetto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2472,7 +2472,7 @@ void InstallCtrCHandler(CtrlCHandlerFunction);
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");InlineChunkHeaderSize'
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
Expand Down Expand Up @@ -49250,7 +49250,7 @@ class TracePacket;
// ReadNextTracePacket() below.
class TraceBuffer {
public:
static const size_t InlineChunkHeaderSize; // For test/fake_packet.{cc,h}.
static constexpr size_t InlineChunkHeaderSize = sizeof(ChunkRecord); // For test/fake_packet.{cc,h}.

// See comment in the header above.
enum OverwritePolicy { kOverwrite, kDiscard };
Expand Down

0 comments on commit 5e9f8c3

Please sign in to comment.