Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Service Arch 2021-03-22
Description
For example:
- static constexpr auto errorMsg = |
+ static constexpr auto& errorMsg = |
"Failed to complete construction of sharding DDL coordinator"; |
Without the ampersand, the string literal decays to a pointer.
FMT_STRING can't use pointers. It needs arrays.