mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
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
This commit is contained in:
committed by
Copybara-Service
parent
a53d0916ec
commit
4ae8771a31
@@ -23,11 +23,11 @@ namespace absl {
|
||||
ABSL_NAMESPACE_BEGIN
|
||||
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'}};
|
||||
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'}};
|
||||
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'}};
|
||||
|
||||
} // namespace log_internal
|
||||
|
||||
@@ -34,10 +34,10 @@ namespace absl {
|
||||
ABSL_NAMESPACE_BEGIN
|
||||
namespace log_internal {
|
||||
|
||||
ABSL_DLL ABSL_CONST_INIT 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<char, 7> kCharNull;
|
||||
ABSL_CONST_INIT ABSL_DLL extern const std::array<signed char, 7>
|
||||
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;
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user