forked from Green-Sky/tomato
disable annoying debug message
This commit is contained in:
parent
05d1648209
commit
4248d1d9ab
@ -171,6 +171,8 @@ void ChatGui4::render(void) {
|
|||||||
if (const auto* unread_storage = mm.storage<Message::Components::TagUnread>(); unread_storage != nullptr && !unread_storage->empty()) {
|
if (const auto* unread_storage = mm.storage<Message::Components::TagUnread>(); unread_storage != nullptr && !unread_storage->empty()) {
|
||||||
//assert(unread_storage->size() == 0);
|
//assert(unread_storage->size() == 0);
|
||||||
//assert(unread_storage.cbegin() == unread_storage.cend());
|
//assert(unread_storage.cbegin() == unread_storage.cend());
|
||||||
|
|
||||||
|
#if 0
|
||||||
std::cout << "UNREAD ";
|
std::cout << "UNREAD ";
|
||||||
Message3 prev_ent = entt::null;
|
Message3 prev_ent = entt::null;
|
||||||
for (const Message3 e : mm.view<Message::Components::TagUnread>()) {
|
for (const Message3 e : mm.view<Message::Components::TagUnread>()) {
|
||||||
@ -181,6 +183,7 @@ void ChatGui4::render(void) {
|
|||||||
prev_ent = e;
|
prev_ent = e;
|
||||||
}
|
}
|
||||||
std::cout << "\n";
|
std::cout << "\n";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user