Skip to content

Commit cb25489

Browse files
committed
Remove debug checks.
1 parent 9ff7c12 commit cb25489

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/base/threading/asio_event_dispatcher.cc

-4
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@ int AsioEventDispatcher::remainingTime(int id)
194194
#if defined(Q_OS_WIN)
195195
bool AsioEventDispatcher::registerEventNotifier(QWinEventNotifier* notifier)
196196
{
197-
DCHECK(notifier);
198-
199197
HANDLE handle = notifier->handle();
200198
if (!handle || handle == INVALID_HANDLE_VALUE)
201199
{
@@ -220,8 +218,6 @@ bool AsioEventDispatcher::registerEventNotifier(QWinEventNotifier* notifier)
220218
#if defined(Q_OS_WIN)
221219
void AsioEventDispatcher::unregisterEventNotifier(QWinEventNotifier* notifier)
222220
{
223-
DCHECK(notifier);
224-
225221
auto it = events_.begin();
226222
while (it != events_.end())
227223
{

0 commit comments

Comments
 (0)