From 538d6ec0c8dd4bd6a6ff4fed773c7645378402a6 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Mon, 17 Mar 2025 23:12:25 -0400 Subject: [PATCH] Communication: Remove unused parameter --- .../message/callback/streamoutput/streamoutput.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/icsneo/communication/message/callback/streamoutput/streamoutput.h b/include/icsneo/communication/message/callback/streamoutput/streamoutput.h index e6060e8..f983226 100644 --- a/include/icsneo/communication/message/callback/streamoutput/streamoutput.h +++ b/include/icsneo/communication/message/callback/streamoutput/streamoutput.h @@ -126,13 +126,13 @@ public: ) {} StreamOutput(const char* filename) : - MessageCallback([](std::shared_ptr msg) {}), + MessageCallback([](std::shared_ptr) {}), stream( new std::ofstream(filename, std::ios::binary), std::default_delete() ) {} - StreamOutput(std::ostream& os) : MessageCallback([](std::shared_ptr msg) {}), stream(&os, [](std::ostream*){}) {} + StreamOutput(std::ostream& os) : MessageCallback([](std::shared_ptr) {}), stream(&os, [](std::ostream*){}) {} protected: std::unique_ptr> stream;