mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 16:40:35 +00:00
utils, db: qualify seastar::coroutine:: to avoid shadowing by utils::coroutine class
Inside namespace utils, unqualified coroutine:: resolves to the utils::coroutine class (utils/coroutine.hh) rather than the seastar::coroutine namespace. This causes build failures when replica/database.hh is added to the precompiled header, because utils/coroutine.hh becomes transitively visible in all TUs. Qualify all coroutine:: references with seastar:: in affected files under utils/ and db/.
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
_map.erase(_map.begin());
|
||||
}
|
||||
if (++ret % evictions_per_yield == 0) {
|
||||
co_await coroutine::maybe_yield();
|
||||
co_await seastar::coroutine::maybe_yield();
|
||||
}
|
||||
}
|
||||
co_return ret;
|
||||
|
||||
Reference in New Issue
Block a user