wgtmac opened a new pull request, #45100:
URL: https://github.com/apache/arrow/pull/45100
### Rationale for this change
The `Status::message` function below has defined a static const string in
the header file which may cause troubles in different translation units.
```
const std::string& message() const {
static const std::string no_message = "";
return ok() ? no_message : state_->msg;
}
```
### What changes are included in this PR?
Move the definition of `Status::message` function into the source file.
### Are these changes tested?
Pass CIs.
### Are there any user-facing changes?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]