We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e34758 + b8c6f59 commit 4784144Copy full SHA for 4784144
Framework/Core/include/Framework/DataRefUtils.h
@@ -159,7 +159,7 @@ struct DataRefUtils {
159
throw runtime_error_f("Unable to extract class %s", cl == nullptr ? "<name not available>" : cl->GetName());
160
}
161
// workaround for ROOT feature, see above
162
- if constexpr (has_root_setowner<T>::value) {
+ if constexpr (requires(T t) { t.SetOwner(true); }) {
163
result->SetOwner(true);
164
165
});
0 commit comments