From 732b5580f089101ce4b8cdff55bb6461c59a6720 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 9 Nov 2021 14:14:51 -0800 Subject: Export of internal Abseil changes -- 4324716dc5384f03dcd7e36e8cca0e944e4dac74 by Evan Brown : Clarify comments about API differences from std::{set,map} in btree headers. We note that the most important API differences are mentioned in the next paragraph and that other API differences are minor. An example of another minor API difference is the note about std::launder in the comment for `extract`. Motivation: readers shouldn't feel like they need to read the entire header file to understand why b-tree containers are not "drop-in replacements" for STL containers. PiperOrigin-RevId: 408703780 -- 7e8da4f14afd25d11713eee6b743ba31605332bf by Derek Mauro : Remove the test for absl::base_internal::NominalCPUFrequency() from OSS code This is an internal-only function that should never by called by OSS code. By its nature fails on unsupported platforms. Google code has tests for this function on supported internal platforms. Fixes #1053 PiperOrigin-RevId: 408692861 -- 37bad2e003b17e3f82d6fd5d90ae183553c018b0 by Abseil Team : To avoid triggering -Wmissing-variable-declarations warnings, ABSL_FLAG now declares the Flag before defining it. PiperOrigin-RevId: 408673990 GitOrigin-RevId: 4324716dc5384f03dcd7e36e8cca0e944e4dac74 Change-Id: I8c8ea73c4a4e38729c5bfdfa3fefb5d593e0536c --- absl/flags/flag.h | 1 + 1 file changed, 1 insertion(+) (limited to 'absl/flags') diff --git a/absl/flags/flag.h b/absl/flags/flag.h index a724ccc9..50106082 100644 --- a/absl/flags/flag.h +++ b/absl/flags/flag.h @@ -163,6 +163,7 @@ ABSL_NAMESPACE_END // Note: do not construct objects of type `absl::Flag` directly. Only use the // `ABSL_FLAG()` macro for such construction. #define ABSL_FLAG(Type, name, default_value, help) \ + extern ::absl::Flag FLAGS_##name; \ ABSL_FLAG_IMPL(Type, name, default_value, help) // ABSL_FLAG().OnUpdate() -- cgit v1.2.3