Commit db609075 by Dino Radakovic Committed by Copybara-Service

absl/base/internal/invoke.h: Use ABSL_INTERNAL_CPLUSPLUS_LANG for language version guard

PiperOrigin-RevId: 453970585
Change-Id: Iac23eb88ea676efc822f001020b1cc2c255dbbc1
parent 9eff9786
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include "absl/base/config.h" #include "absl/base/config.h"
#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) #if ABSL_INTERNAL_CPLUSPLUS_LANG >= 201703L
#include <functional> #include <functional>
...@@ -55,7 +55,7 @@ using std::is_invocable_r; ...@@ -55,7 +55,7 @@ using std::is_invocable_r;
ABSL_NAMESPACE_END ABSL_NAMESPACE_END
} // namespace absl } // namespace absl
#else // __cplusplus >= 201703L #else // ABSL_INTERNAL_CPLUSPLUS_LANG >= 201703L
#include <algorithm> #include <algorithm>
#include <type_traits> #include <type_traits>
...@@ -226,6 +226,6 @@ using is_invocable_r = IsInvocableRImpl<void, R, F, Args...>; ...@@ -226,6 +226,6 @@ using is_invocable_r = IsInvocableRImpl<void, R, F, Args...>;
ABSL_NAMESPACE_END ABSL_NAMESPACE_END
} // namespace absl } // namespace absl
#endif // __cplusplus >= 201703L #endif // ABSL_INTERNAL_CPLUSPLUS_LANG >= 201703L
#endif // ABSL_BASE_INTERNAL_INVOKE_H_ #endif // ABSL_BASE_INTERNAL_INVOKE_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment