[fix] avoid X11 macro conflict in announcement requests

This commit is contained in:
dijunkun
2026-09-29 14:01:46 +08:00
parent 2d49024bd6
commit bc8dbcbf68
3 changed files with 4 additions and 4 deletions
@@ -142,7 +142,7 @@ void AnnouncementInbox::Fail() {
state_.failed = true;
++state_.version;
}
nlohmann::json AnnouncementInbox::NextRequest(
nlohmann::json AnnouncementInbox::TakePendingRequest(
std::chrono::steady_clock::time_point now) {
std::lock_guard<std::mutex> lock(mutex_);
if (!connected_ || scope_.empty()) return nullptr;