Skip to content

Commit

Permalink
Minor cleanups to conform to clang-tidy, etc.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590450038
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Dec 13, 2023
1 parent 95d7dc0 commit b429304
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/google/protobuf/message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@

#include "google/protobuf/message.h"

#include <iostream>
#include <stack>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <new>
#include <string>

#include "absl/base/casts.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/hash/hash.h"
#include "absl/log/absl_check.h"
#include "absl/log/absl_log.h"
#include "absl/strings/str_join.h"
Expand All @@ -30,10 +33,10 @@
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/io/zero_copy_stream_impl.h"
#include "google/protobuf/map_field.h"
#include "google/protobuf/map_field_inl.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/parse_context.h"
#include "google/protobuf/port.h"
#include "google/protobuf/reflection_internal.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/unknown_field_set.h"
Expand Down Expand Up @@ -209,7 +212,7 @@ void* CreateSplitMessageGeneric(Arena* arena, const void* default_split,
// =============================================================================
// MessageFactory

MessageFactory::~MessageFactory() {}
MessageFactory::~MessageFactory() = default;

namespace {

Expand Down

0 comments on commit b429304

Please sign in to comment.