We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9da93a3 commit f626376Copy full SHA for f626376
DataFormats/common/include/CommonDataFormat/AbstractRefAccessor.h
@@ -25,7 +25,7 @@ namespace dataformats
25
{
26
27
/*
28
- AbstractRefAccessor allows to register multiple containers of objects convertible to type T and
+ AbstractRefAccessor allows to register multiple containers of objects convertible to type T and
29
to access them by providing a global index indicating the registered source ID and the
30
index within the original container
31
*/
@@ -45,7 +45,7 @@ class AbstractRefAccessor
45
46
bool isLoaded(int src) const
47
48
- return mContainerPtr[src] != nullptr;
+ return mSizeOfs[src] != 0;
49
}
50
51
/// get object as user provided type from explicitly provided source, index
0 commit comments