修改pods
This commit is contained in:
10
Pods/abseil/absl/flags/reflection.cc
generated
10
Pods/abseil/absl/flags/reflection.cc
generated
@@ -217,6 +217,13 @@ void FinalizeRegistry() {
|
||||
|
||||
namespace {
|
||||
|
||||
// These are only used as constexpr global objects.
|
||||
// They do not use a virtual destructor to simplify their implementation.
|
||||
// They are not destroyed except at program exit, so leaks do not matter.
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
class RetiredFlagObj final : public CommandLineFlag {
|
||||
public:
|
||||
constexpr RetiredFlagObj(const char* name, FlagFastTypeId type_id)
|
||||
@@ -276,6 +283,9 @@ class RetiredFlagObj final : public CommandLineFlag {
|
||||
const char* const name_;
|
||||
const FlagFastTypeId type_id_;
|
||||
};
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user