mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Merge remote-tracking branch 'origin/topic/neverlord/std-span'
* origin/topic/neverlord/std-span: Remove zeek::Span and use std::span instead
This commit is contained in:
commit
3c2d01e19e
36 changed files with 135 additions and 239 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 {
|
||||
|
@ -78,7 +78,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