mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Remove zeek::Span and use std::span instead
This commit is contained in:
parent
941ea4282b
commit
690a2a1122
33 changed files with 125 additions and 238 deletions
|
@ -5,9 +5,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
|
||||
#include "zeek/Span.h"
|
||||
#include "zeek/logging/Types.h"
|
||||
|
||||
namespace zeek::cluster {
|
||||
|
@ -80,7 +80,7 @@ public:
|
|||
* @param records The actual log writes.
|
||||
*/
|
||||
virtual bool SerializeLogWrite(byte_buffer& buf, const logging::detail::LogWriteHeader& header,
|
||||
zeek::Span<logging::detail::LogRecord> records) = 0;
|
||||
std::span<logging::detail::LogRecord> records) = 0;
|
||||
|
||||
/**
|
||||
* Unserialize log writes from a given byte buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue