Fix format strings given as char* (xcode build fix)

XMLWordPrintableJSON

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

              Assignee:
              Billy Donahue
              Reporter:
              Billy Donahue
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: