From 3a6eafa8c65ba8155195e6def4a78bc6e864c5bb Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 28 Nov 2022 21:55:27 +0200 Subject: [PATCH] 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. --- utils/observable.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/observable.hh b/utils/observable.hh index 1d0f354f40..35a6edf752 100644 --- a/utils/observable.hh +++ b/utils/observable.hh @@ -143,7 +143,7 @@ using observer = typename observable::observer; template inline observer dummy_observer() { - return observer(nullptr, noncopyable_function()); + return observer(nullptr, seastar::noncopyable_function()); } }