mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Disable ABSL_DEFINE_UNQUALIFIED_STATUS_MACROS in OSS
PiperOrigin-RevId: 917960707 Change-Id: I2bf388a82f324d63f45ea44929847fdc19f84d7a
This commit is contained in:
committed by
Copybara-Service
parent
23837c607e
commit
ad00fb75a8
@@ -475,8 +475,6 @@ inline StatusAdaptorForMacros MacroAdaptor(StatusBuilder&& s,
|
||||
// use is historically ubiquitous. Other OSS Google projects should use the
|
||||
// qualified versions.
|
||||
//
|
||||
// TODO(b/491833032): Strip in OSS
|
||||
#define ABSL_DEFINE_UNQUALIFIED_STATUS_MACROS 1
|
||||
#ifdef ABSL_DEFINE_UNQUALIFIED_STATUS_MACROS
|
||||
#define ASSIGN_OR_RETURN(...) ABSL_ASSIGN_OR_RETURN(__VA_ARGS__)
|
||||
#define RETURN_IF_ERROR(...) ABSL_RETURN_IF_ERROR(__VA_ARGS__)
|
||||
|
||||
Reference in New Issue
Block a user