PortManager warning fix. The #pragma pack stuff was redundant anyway

This commit is contained in:
Henrik Rydgård committed 2023-08-10 17:15:57 +02:00
1 parent 4b0ac494d0
commit 779a156251
1 file changed
+2 -8
+2 -8
View File
@@ -37,18 +37,12 @@
#include <string>
#include <deque>
#ifdef _MSC_VER
#pragma pack(push,1)
#endif
typedef struct UPnPArgs {
struct UPnPArgs {
int cmd;
std::string protocol;
unsigned short port;
unsigned short intport;
} PACK;
#ifdef _MSC_VER
#pragma pack(pop)
#endif
};
#define IP_PROTOCOL_TCP "TCP"
#define IP_PROTOCOL_UDP "UDP"