Skip to content

Commit

Permalink
Fixed quotes on other macros too
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin authored and andy31415 committed Jun 12, 2023
1 parent a29a90c commit 1912021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tracing/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
#define MATTER_LOG_MESSAGE_SEND(...) \
do \
{ \
::chip::Tracing::MessageSendInfo _trace_data(__VA_ARGS__); \
::chip::Tracing::MessageSendInfo _trace_data{__VA_ARGS__}; \
::chip::Tracing::Internal::LogMessageSend(_trace_data); \
} while (false)

#define MATTER_LOG_MESSAGE_RECEIVED(...) \
do \
{ \
::chip::Tracing::MessageReceivedInfo _trace_data(__VA_ARGS__); \
::chip::Tracing::MessageReceivedInfo _trace_data{__VA_ARGS__}; \
::chip::Tracing::Internal::LogMessageReceived(_trace_data); \
} while (false)

Expand Down

0 comments on commit 1912021

Please sign in to comment.