Edit copybara rules to remove absl::Span

PiperOrigin-RevId: 601558492
Change-Id: Id09178209b9258c810b61c749582c995fac518b1
This commit is contained in:
Matt Feddersen
2024-01-25 14:00:08 -08:00
committed by Robert Shih
parent 6bf182af45
commit b239b11b60
3 changed files with 4 additions and 7 deletions

View File

@@ -20,7 +20,6 @@
#include "odk_endian.h"
#include "odk_structs.h"
#include "odk_structs_priv.h"
#include "third_party/absl/types/span.h"
namespace wvodk_test {
@@ -671,7 +670,7 @@ OEMCryptoResult ODK_DumpSingleField(const uint8_t* buf,
*/
OEMCryptoResult ODK_IterFields(ODK_FieldMode mode, uint8_t* buf,
const size_t size_in, size_t* size_out,
absl::Span<const ODK_Field> fields) {
const std::vector<ODK_Field>& fields) {
if (buf == nullptr || size_out == nullptr) {
return ODK_ERROR_CORE_MESSAGE;
}
@@ -709,7 +708,7 @@ OEMCryptoResult ODK_IterFields(ODK_FieldMode mode, uint8_t* buf,
}
std::vector<ODK_Field> ODK_MakeTotalFields(
absl::Span<const ODK_Field> extra_fields, ODK_CoreMessage* core_message) {
const std::vector<ODK_Field>& extra_fields, ODK_CoreMessage* core_message) {
std::vector<ODK_Field> total_fields = {
{ODK_UINT32, &(core_message->message_type), "message_type"},
{ODK_UINT32, &(core_message->message_length), "message_size"},