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;