Remove ill-formed asserts

This commit is contained in:
Henrik Rydgård committed 2022-09-23 23:14:36 +02:00
1 parent 1259283c2e
commit 3393d47e92
1 file changed
-2
-2
View File
@@ -79,7 +79,6 @@ public:
// Returns T if the data is ready, nullptr if it's not.
T Poll() {
_dbg_assert_(this != nullptr);
std::lock_guard<std::mutex> guard(readyMutex_);
if (ready_) {
return data_;
@@ -96,7 +95,6 @@ public:
}
T BlockUntilReady() {
_dbg_assert_(this != nullptr);
std::lock_guard<std::mutex> guard(readyMutex_);
if (ready_) {
return data_;