mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Communication: Remove unused parameter
This commit is contained in:
@@ -126,13 +126,13 @@ public:
|
|||||||
) {}
|
) {}
|
||||||
|
|
||||||
StreamOutput(const char* filename) :
|
StreamOutput(const char* filename) :
|
||||||
MessageCallback([](std::shared_ptr<Message> msg) {}),
|
MessageCallback([](std::shared_ptr<Message>) {}),
|
||||||
stream(
|
stream(
|
||||||
new std::ofstream(filename, std::ios::binary),
|
new std::ofstream(filename, std::ios::binary),
|
||||||
std::default_delete<std::ostream>()
|
std::default_delete<std::ostream>()
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
StreamOutput(std::ostream& os) : MessageCallback([](std::shared_ptr<Message> msg) {}), stream(&os, [](std::ostream*){}) {}
|
StreamOutput(std::ostream& os) : MessageCallback([](std::shared_ptr<Message>) {}), stream(&os, [](std::ostream*){}) {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::unique_ptr<std::ostream, std::function<void(std::ostream*)>> stream;
|
std::unique_ptr<std::ostream, std::function<void(std::ostream*)>> stream;
|
||||||
|
|||||||
Reference in New Issue
Block a user