Skip to content

Commit eda5257

Browse files
committed
fix endOfStream() requirement
1 parent 3fad0c5 commit eda5257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/AnalysisManagers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ struct ServiceManager<Service<T>> {
466466
{
467467
// FIXME: for the moment we only need endOfStream to be
468468
// stateless. In the future we might want to pass it EndOfStreamContext
469-
if constexpr (requires { T::endOfStream(); }) {
469+
if constexpr (requires (T t) { t.endOfStream(); }) {
470470
service.service->endOfStream();
471471
return true;
472472
}

0 commit comments

Comments
 (0)