Commit 4ae8771a by Derek Mauro Committed by Copybara-Service

Change from `ABSL_DLL ABSL_CONST_INIT` to `ABSL_CONST_INIT ABSL_DLL`

This avoids "error: an attribute list cannot appear here"

PiperOrigin-RevId: 513430681
Change-Id: I0fd31771793ee4cb66149ef4ce3e3e064dfb260d
parent a53d0916
...@@ -23,11 +23,11 @@ namespace absl { ...@@ -23,11 +23,11 @@ namespace absl {
ABSL_NAMESPACE_BEGIN ABSL_NAMESPACE_BEGIN
namespace log_internal { namespace log_internal {
ABSL_DLL ABSL_CONST_INIT const std::array<char, 7> kCharNull{ ABSL_CONST_INIT ABSL_DLL const std::array<char, 7> kCharNull{
{'(', 'n', 'u', 'l', 'l', ')', '\0'}}; {'(', 'n', 'u', 'l', 'l', ')', '\0'}};
ABSL_DLL ABSL_CONST_INIT const std::array<signed char, 7> kSignedCharNull{ ABSL_CONST_INIT ABSL_DLL const std::array<signed char, 7> kSignedCharNull{
{'(', 'n', 'u', 'l', 'l', ')', '\0'}}; {'(', 'n', 'u', 'l', 'l', ')', '\0'}};
ABSL_DLL ABSL_CONST_INIT const std::array<unsigned char, 7> kUnsignedCharNull{ ABSL_CONST_INIT ABSL_DLL const std::array<unsigned char, 7> kUnsignedCharNull{
{'(', 'n', 'u', 'l', 'l', ')', '\0'}}; {'(', 'n', 'u', 'l', 'l', ')', '\0'}};
} // namespace log_internal } // namespace log_internal
......
...@@ -34,10 +34,10 @@ namespace absl { ...@@ -34,10 +34,10 @@ namespace absl {
ABSL_NAMESPACE_BEGIN ABSL_NAMESPACE_BEGIN
namespace log_internal { namespace log_internal {
ABSL_DLL ABSL_CONST_INIT extern const std::array<char, 7> kCharNull; ABSL_CONST_INIT ABSL_DLL extern const std::array<char, 7> kCharNull;
ABSL_DLL ABSL_CONST_INIT extern const std::array<signed char, 7> ABSL_CONST_INIT ABSL_DLL extern const std::array<signed char, 7>
kSignedCharNull; kSignedCharNull;
ABSL_DLL ABSL_CONST_INIT extern const std::array<unsigned char, 7> ABSL_CONST_INIT ABSL_DLL extern const std::array<unsigned char, 7>
kUnsignedCharNull; kUnsignedCharNull;
template <typename T> template <typename T>
......
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