utils: observer: qualify seastar::noncopyable_function

gcc checks name resolution eagerly, and can't find noncopyable_function
as this header doesn't include "seastarx.hh". Qualify the name
so it finds it.
This commit is contained in:
Avi Kivity
2022-11-28 21:55:27 +02:00
parent 5ae98ab3de
commit 3a6eafa8c6

View File

@@ -143,7 +143,7 @@ using observer = typename observable<Args...>::observer;
template <typename... Args>
inline observer<Args...> dummy_observer() {
return observer<Args...>(nullptr, noncopyable_function<void(Args...)>());
return observer<Args...>(nullptr, seastar::noncopyable_function<void(Args...)>());
}
}