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) ...@@ -133,9 +133,9 @@ bool operator!= (Mapping &cMap1, Mapping &cMap2)
} }
Controller::Controller() Controller::Controller()
: udpGlobalMappings_(getGlobalInstance<UDPMapGlobal>()) : defaultIGD_(getIGD())
, udpGlobalMappings_(getGlobalInstance<UDPMapGlobal>())
, tcpGlobalMappings_(getGlobalInstance<TCPMapGlobal>()) , tcpGlobalMappings_(getGlobalInstance<TCPMapGlobal>())
, defaultIGD_(getIGD())
{} {}
Controller::~Controller() Controller::~Controller()
......
...@@ -117,7 +117,7 @@ public: ...@@ -117,7 +117,7 @@ public:
{}; {};
/* move constructor and operator */ /* move constructor and operator */
Mapping(Mapping&& other) = default; Mapping(Mapping&&) = default;
Mapping& operator=(Mapping&&) = default; Mapping& operator=(Mapping&&) = default;
friend bool operator== (Mapping &cRedir1, Mapping &cRedir2); friend bool operator== (Mapping &cRedir1, Mapping &cRedir2);
......
Supports Markdown
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