Skip to content

Commit

Permalink
kirk change
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Nov 11, 2024
1 parent d48e191 commit 4304325
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/clp_ffi_js/ir/LogEventWithFilterData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ namespace clp_ffi_js::ir {
using clp::ir::four_byte_encoded_variable_t;
using UnstructuredLogEvent = clp::ir::LogEvent<four_byte_encoded_variable_t>;

// Concept defining valid log event types.
// TODO: Extend valid log event types when filtering support is added for structured logs.
template <typename T>
concept ValidLogEventTypes = std::same_as<T, UnstructuredLogEvent>;

/**
* A templated class that extends a log event type with processed versions of some of its fields,
* specifically the fields that are used for filtering in the `StreamReader` classes and their
Expand All @@ -26,7 +21,7 @@ concept ValidLogEventTypes = std::same_as<T, UnstructuredLogEvent>;
* @tparam LogEvent The type of the log event.
*/
template <typename LogEvent>
requires ValidLogEventTypes<LogEvent>
requires std::same_as<LogEvent, UnstructuredLogEvent>
class LogEventWithFilterData {
public:
// Constructor
Expand Down

0 comments on commit 4304325

Please sign in to comment.