Fixed some more level #4 warnings in Debug build.

This commit is contained in:
LoRd_MuldeR 2021-12-23 16:57:26 +01:00
parent c027d08c84
commit e5e3b1b1a1
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ namespace MUtils
private: private:
IPCChannel(const IPCChannel&) : p(NULL), m_appVersionNo((unsigned int)(-1)) { throw "Constructor is disabled!"; } IPCChannel(const IPCChannel&) : p(NULL), m_appVersionNo((unsigned int)(-1)) { throw "Constructor is disabled!"; }
IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; return *this; } IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; }
const QString m_applicationId; const QString m_applicationId;
const QString m_channelId; const QString m_channelId;

View File

@ -26,7 +26,7 @@
#define WIN32_LEAN_AND_MEAN 1 #define WIN32_LEAN_AND_MEAN 1
#include <Windows.h> #include <Windows.h>
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*lpReserved*/)
{ {
switch (ul_reason_for_call) switch (ul_reason_for_call)
{ {