• R/O
  • HTTP
  • SSH
  • HTTPS

MUtilities: 提交

MUtilities development repository


Commit MetaInfo

修订版e5e3b1b1a19b86fdb3e12a4084ccfb9e1b488481 (tree)
时间2021-12-24 00:57:26
作者LoRd_MuldeR <mulder2@gmx....>
CommiterLoRd_MuldeR

Log Message

Fixed some more level #4 warnings in Debug build.

更改概述

差异

--- a/include/MUtils/IPCChannel.h
+++ b/include/MUtils/IPCChannel.h
@@ -57,7 +57,7 @@ namespace MUtils
5757
5858 private:
5959 IPCChannel(const IPCChannel&) : p(NULL), m_appVersionNo((unsigned int)(-1)) { throw "Constructor is disabled!"; }
60- IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; return *this; }
60+ IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; }
6161
6262 const QString m_applicationId;
6363 const QString m_channelId;
--- a/src/DLLMain.cpp
+++ b/src/DLLMain.cpp
@@ -26,7 +26,7 @@
2626 #define WIN32_LEAN_AND_MEAN 1
2727 #include <Windows.h>
2828
29-BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
29+BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*lpReserved*/)
3030 {
3131 switch (ul_reason_for_call)
3232 {
Show on old repository browser