Resolve macOS compile warnings

This commit is contained in:
Paul Hollinsky
2018-09-26 18:30:06 -04:00
parent 399c72e61d
commit bbcc5b2d7b
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ namespace icsneo {
class Communication {
public:
Communication(std::shared_ptr<ICommunication> com, std::shared_ptr<Packetizer> p, std::shared_ptr<Decoder> md) : impl(com), packetizer(p), decoder(md) {}
Communication(std::shared_ptr<ICommunication> com, std::shared_ptr<Packetizer> p, std::shared_ptr<Decoder> md) : packetizer(p), decoder(md), impl(com) {}
virtual ~Communication() { close(); }
bool open();