-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Service Arch 2021-03-22
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.