Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 991d8f9e authored by Henri Chataing's avatar Henri Chataing Committed by Gerrit Code Review
Browse files

Merge "Replace fmt::throw_format_error with fmt::report_error" into main

parents b3eece0f 8916949b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -122,7 +122,7 @@ struct fmt::formatter<bluetooth::hci::Address> {


    // Check if reached the end of the range:
    // Check if reached the end of the range:
    if (it != end && *it != '}') {
    if (it != end && *it != '}') {
      throw_format_error("invalid format");
      report_error("invalid format");
    }
    }


    // Return an iterator past the end of the parsed range:
    // Return an iterator past the end of the parsed range:
+1 −1
Original line number Original line Diff line number Diff line
@@ -153,7 +153,7 @@ struct fmt::formatter<bluetooth::hci::AddressWithType> {


    // Check if reached the end of the range:
    // Check if reached the end of the range:
    if (it != end && *it != '}') {
    if (it != end && *it != '}') {
      throw_format_error("invalid format");
      report_error("invalid format");
    }
    }


    // Return an iterator past the end of the parsed range:
    // Return an iterator past the end of the parsed range: