mirror of
https://github.com/wqking/eventpp.git
synced 2024-12-27 00:17:02 +08:00
Fixed compile warnings in MSVC
This commit is contained in:
parent
4160f119f8
commit
7072504e6d
@ -108,11 +108,11 @@ public:
|
|||||||
itemList.clear();
|
itemList.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDispatcher(DispatcherType & dispatcher)
|
void setDispatcher(DispatcherType & dispatcher_)
|
||||||
{
|
{
|
||||||
if(this->dispatcher != &dispatcher) {
|
if(this->dispatcher != &dispatcher_) {
|
||||||
reset();
|
reset();
|
||||||
this->dispatcher = &dispatcher;
|
this->dispatcher = &dispatcher_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -249,11 +249,11 @@ public:
|
|||||||
itemList.clear();
|
itemList.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setCallbackList(CallbackListType & callbackList)
|
void setCallbackList(CallbackListType & callbackList_)
|
||||||
{
|
{
|
||||||
if(this->callbackList != &callbackList) {
|
if(this->callbackList != &callbackList_) {
|
||||||
reset();
|
reset();
|
||||||
this->callbackList = &callbackList;
|
this->callbackList = &callbackList_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user