Skip to content

Commit

Permalink
Rename LogEvent to LogEventStorage.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlion committed Apr 25, 2024
1 parent edeab0d commit 99e9cea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/ffi_go/ir/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct Encoder {
* ir.Deserializer (without any warning or way to guard in Go).
*/
struct Deserializer {
ffi_go::LogEvent m_log_event;
ffi_go::LogEventStorage m_log_event;
ffi::epoch_time_ms_t m_timestamp{};
};

Expand Down
2 changes: 1 addition & 1 deletion cpp/src/ffi_go/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using LogMessage = std::string;
* Mutating a field will invalidate the corresponding View (slice) stored in the
* ffi.LogEventView (without any warning or way to guard in Go).
*/
struct LogEvent {
struct LogEventStorage {
auto reserve(size_t cap) -> void { m_log_message.reserve(cap); }

LogMessage m_log_message;
Expand Down

0 comments on commit 99e9cea

Please sign in to comment.