From 05ae086e14d6b4a561f8229ec25efefefc7daf52 Mon Sep 17 00:00:00 2001 From: Chris Apple Date: Thu, 5 Dec 2024 08:59:09 -0800 Subject: [PATCH] Intentionally bad style to test --- .github/workflows/format.yml | 2 +- include/rtlog/rtlog.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index d0adbe5..8506e80 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -7,4 +7,4 @@ jobs: - uses: actions/checkout@v2 - uses: RafikFarhad/clang-format-github-action@v3 with: - sources: "include/**/*.h,examples/**/*.cpp,test/*.cpp" + sources: "include/rtlog/rtlog.h" diff --git a/include/rtlog/rtlog.h b/include/rtlog/rtlog.h index 7431dc4..dfc7542 100644 --- a/include/rtlog/rtlog.h +++ b/include/rtlog/rtlog.h @@ -225,9 +225,9 @@ class Logger { InternalLogData value; while (mQueue.try_dequeue(value)) { - printLogFn(value.mLogData, value.mSequenceNumber, "%s", + printLogFn(value.mLogData, value.mSequenceNumber, "%s", value.mMessage.data()); - numProcessed++; + numProcessed++; } return numProcessed;