build: Bump minimum supported Clang to clang-13

This commit is contained in:
MarcoFalke
2023-08-03 14:22:15 +02:00
parent fab1ef9512
commit fae379b6b1
5 changed files with 10 additions and 11 deletions

View File

@@ -1415,7 +1415,7 @@ std::optional<std::string> V2Transport::GetMessageType(Span<const uint8_t>& cont
}
// Strip message type bytes of contents.
contents = contents.subspan(CMessageHeader::COMMAND_SIZE);
return {std::move(ret)};
return ret;
}
CNetMessage V2Transport::GetReceivedMessage(std::chrono::microseconds time, bool& reject_message) noexcept