diff --git a/src/Plugins/ComplexCore/src/ComplexCore/Filters/ImportHDF5Dataset.cpp b/src/Plugins/ComplexCore/src/ComplexCore/Filters/ImportHDF5Dataset.cpp index 871a9e77e4..f735832017 100644 --- a/src/Plugins/ComplexCore/src/ComplexCore/Filters/ImportHDF5Dataset.cpp +++ b/src/Plugins/ComplexCore/src/ComplexCore/Filters/ImportHDF5Dataset.cpp @@ -45,7 +45,8 @@ std::vector createDimensionVector(const std::string& cDimsStr) template Result<> fillDataStore(DataArray& dataArray, const DataPath& dataArrayPath, const complex::HDF5::DatasetReader& datasetReader) { - DataStore& dataStore = dataArray.getIDataStoreRefAs>(); + using StoreType = DataStore; + StoreType& dataStore = dataArray.template getIDataStoreRefAs(); if(!datasetReader.readIntoSpan(dataStore.createSpan())) { return {MakeErrorResult(-21002, fmt::format("Error reading dataset '{}' with '{}' total elements into data store for data array '{}' with '{}' total elements ('{}' tuples and '{}' components)",