Skip to content

Commit

Permalink
Linux compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarineBlueQuartz authored and imikejackson committed Nov 8, 2023
1 parent 0b30c90 commit 6753b7c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ std::vector<size_t> createDimensionVector(const std::string& cDimsStr)
template <typename T>
Result<> fillDataStore(DataArray<T>& dataArray, const DataPath& dataArrayPath, const complex::HDF5::DatasetReader& datasetReader)
{
DataStore<T>& dataStore = dataArray.getIDataStoreRefAs<DataStore<T>>();
using StoreType = DataStore<T>;
StoreType& dataStore = dataArray.template getIDataStoreRefAs<StoreType>();
if(!datasetReader.readIntoSpan<T>(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)",
Expand Down

0 comments on commit 6753b7c

Please sign in to comment.