Skip to content

Commit 4784144

Browse files
authored
Merge b8c6f59 into sapling-pr-archive-ktf
2 parents 6e34758 + b8c6f59 commit 4784144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/DataRefUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ struct DataRefUtils {
159159
throw runtime_error_f("Unable to extract class %s", cl == nullptr ? "<name not available>" : cl->GetName());
160160
}
161161
// workaround for ROOT feature, see above
162-
if constexpr (has_root_setowner<T>::value) {
162+
if constexpr (requires(T t) { t.SetOwner(true); }) {
163163
result->SetOwner(true);
164164
}
165165
});

0 commit comments

Comments
 (0)