Commit f70c7022 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

upnp: fix compiler warnings

Refs #64935

Change-Id: I8293e184087a9b526c3ba4a3db12d875b8313306
parent ac3bf29a
......@@ -133,9 +133,9 @@ bool operator!= (Mapping &cMap1, Mapping &cMap2)
}
Controller::Controller()
: udpGlobalMappings_(getGlobalInstance<UDPMapGlobal>())
: defaultIGD_(getIGD())
, udpGlobalMappings_(getGlobalInstance<UDPMapGlobal>())
, tcpGlobalMappings_(getGlobalInstance<TCPMapGlobal>())
, defaultIGD_(getIGD())
{}
Controller::~Controller()
......
......@@ -117,7 +117,7 @@ public:
{};
/* move constructor and operator */
Mapping(Mapping&& other) = default;
Mapping(Mapping&&) = default;
Mapping& operator=(Mapping&&) = default;
friend bool operator== (Mapping &cRedir1, Mapping &cRedir2);
......@@ -250,4 +250,4 @@ std::shared_ptr<IGD> getIGD();
}} // namespace ring::upnp
#endif /* UPNP_H_ */
\ No newline at end of file
#endif /* UPNP_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment