View | Details | Raw Unified | Return to bug 281359
Collapse All | Expand All

(-)b/devel/opentelemetry-cpp/files/patch-api_include_opentelemetry_logs_event__logger.h (+11 lines)
Added Link Here
1
--- api/include/opentelemetry/logs/event_logger.h.orig	2024-07-17 20:04:10 UTC
2
+++ api/include/opentelemetry/logs/event_logger.h
3
@@ -66,7 +66,7 @@ class EventLogger (public)
4
     nostd::unique_ptr<LogRecord> log_record = delegate_logger->CreateLogRecord();
5
 
6
     IgnoreTraitResult(
7
-        detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set(
8
+        detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set<>(
9
             log_record.get(), std::forward<ArgumentType>(args))...);
10
 
11
     EmitEvent(event_name, std::move(log_record));
(-)b/devel/opentelemetry-cpp/files/patch-api_include_opentelemetry_logs_logger.h (+11 lines)
Added Link Here
1
--- api/include/opentelemetry/logs/logger.h.orig	2024-07-17 20:04:10 UTC
2
+++ api/include/opentelemetry/logs/logger.h
3
@@ -73,7 +73,7 @@ class Logger (public)
4
     }
5
 
6
     IgnoreTraitResult(
7
-        detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set(
8
+        detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set<>(
9
             log_record.get(), std::forward<ArgumentType>(args))...);
10
 
11
     EmitLogRecord(std::move(log_record));
(-)b/devel/opentelemetry-cpp/files/patch-api_include_opentelemetry_logs_logger__type__traits.h (+11 lines)
Added Link Here
1
--- api/include/opentelemetry/logs/logger_type_traits.h.orig	2024-07-17 20:04:10 UTC
2
+++ api/include/opentelemetry/logs/logger_type_traits.h
3
@@ -166,7 +166,7 @@ struct LogRecordSetterTrait
4
                 * = nullptr>
5
   inline static LogRecord *Set(LogRecord *log_record, ArgumentType &&arg) noexcept
6
   {
7
-    return LogRecordSetterTrait<common::KeyValueIterable>::template Set(
8
+    return LogRecordSetterTrait<common::KeyValueIterable>::template Set<>(
9
         log_record, std::forward<ArgumentType>(arg));
10
   }
11
 

Return to bug 281359