Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Nov 10, 2024
1 parent cb57bc4 commit 5bdab3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clp_ffi_js/ir/LogEventWithFilterData.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef CLP_FFI_JS_IR_LOGEVENTWITHFILTERDATA_HPP
#define CLP_FFI_JS_IR_LOGEVENTWITHFILTERDATA_HPP

#include <concepts>
#include <utility>

#include <clp/ir/LogEvent.hpp>
Expand All @@ -15,7 +16,7 @@ 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>;
concept ValidLogEventTypes = std::same_as<T, UnstructuredLogEvent>;

/**
* A templated class that extends a log event type with processed versions of some of its fields,
Expand All @@ -25,7 +26,7 @@ concept validLogEventTypes = std::same_as<T, UnstructuredLogEvent>;
* @tparam LogEvent The type of the log event.
*/
template <typename LogEvent>
requires validLogEventTypes<LogEvent>
requires ValidLogEventTypes<LogEvent>
class LogEventWithFilterData {
public:
// Constructor
Expand Down

0 comments on commit 5bdab3c

Please sign in to comment.