fix false alarm of event memory leak

remove the unnecessary event leak check
This commit is contained in:
Jinhao
2015-04-10 00:44:49 +08:00
parent c143ba6816
commit 0ebf3dfacb
4 changed files with 1 additions and 14 deletions

View File

@@ -41,12 +41,6 @@ namespace nana
reinterpret_cast<detail::docker_interface*>(evt)->get_event()->remove(evt);
}
}
std::size_t events_operation::size() const
{
lock_guard lock(mutex_);
return register_.size();
}
//end namespace events_operation
}//end namespace detail
}//end namespace nana