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

Commit 77424f44 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Fix clang-tidy performance warnings in system/bt.

am: d9242533

Change-Id: I3c9d0768e73523dac093e00842d658ea25050dac
parents 1e371cda d9242533
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ void config_set_string(config_t* config, const std::string& section,
  }

  std::string value_no_newline;
  size_t newline_position = value.find("\n");
  size_t newline_position = value.find('\n');
  if (newline_position != std::string::npos) {
    android_errorWriteLog(0x534e4554, "70808273");
    value_no_newline = value.substr(0, newline_position);