local data set fix
This commit is contained in:
parent
4afb19be51
commit
a6a1e65607
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
LocalDataSet::LocalDataSet(HasLocalDataPoolIF *hkOwner,
|
LocalDataSet::LocalDataSet(HasLocalDataPoolIF *hkOwner,
|
||||||
const size_t maxNumberOfVariables):
|
const size_t maxNumberOfVariables):
|
||||||
DataSetBase(poolVarList.data(), maxNumberOfVariables) {
|
LocalDataSetBase(hkOwner,poolVarList.data(), maxNumberOfVariables) {
|
||||||
poolVarList.reserve(maxNumberOfVariables);
|
poolVarList.reserve(maxNumberOfVariables);
|
||||||
poolVarList.resize(maxNumberOfVariables);
|
poolVarList.resize(maxNumberOfVariables);
|
||||||
if(hkOwner == nullptr) {
|
if(hkOwner == nullptr) {
|
||||||
@ -20,7 +20,7 @@ LocalDataSet::LocalDataSet(HasLocalDataPoolIF *hkOwner,
|
|||||||
|
|
||||||
LocalDataSet::LocalDataSet(object_id_t ownerId,
|
LocalDataSet::LocalDataSet(object_id_t ownerId,
|
||||||
const size_t maxNumberOfVariables):
|
const size_t maxNumberOfVariables):
|
||||||
DataSetBase(poolVarList.data(), maxNumberOfVariables) {
|
LocalDataSetBase(ownerId, poolVarList.data(), maxNumberOfVariables) {
|
||||||
poolVarList.reserve(maxNumberOfVariables);
|
poolVarList.reserve(maxNumberOfVariables);
|
||||||
poolVarList.resize(maxNumberOfVariables);
|
poolVarList.resize(maxNumberOfVariables);
|
||||||
HasLocalDataPoolIF* hkOwner = objectManager->get<HasLocalDataPoolIF>(
|
HasLocalDataPoolIF* hkOwner = objectManager->get<HasLocalDataPoolIF>(
|
||||||
|
Loading…
Reference in New Issue
Block a user