Skip to content

Commit

Permalink
Merge pull request #3543 from eisenhauer/Defense
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer authored Mar 19, 2023
2 parents 422a2a5 + 9223660 commit 2ccf622
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
11 changes: 0 additions & 11 deletions source/adios2/engine/bp5/BP5Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1246,17 +1246,6 @@ void BP5Reader::DoClose(const int transportIndex)
}
}

// DoBlocksInfo will not be called because MinBlocksInfo is operative
#define declare_type(T) \
std::vector<typename Variable<T>::BPInfo> BP5Reader::DoBlocksInfo( \
const Variable<T> &variable, const size_t step) const \
{ \
return std::vector<typename Variable<T>::BPInfo>(); \
}

ADIOS2_FOREACH_STDTYPE_1ARG(declare_type)
#undef declare_type

size_t BP5Reader::DoSteps() const { return m_StepsCount; }

void BP5Reader::NotifyEngineNoVarsQuery()
Expand Down
7 changes: 0 additions & 7 deletions source/adios2/engine/bp5/BP5Reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,6 @@ class BP5Reader : public BP5Engine, public Engine
template <class T>
void ReadVariableBlocks(Variable<T> &variable);

#define declare_type(T) \
std::vector<typename Variable<T>::BPInfo> DoBlocksInfo( \
const Variable<T> &variable, const size_t step) const final;

ADIOS2_FOREACH_STDTYPE_1ARG(declare_type)
#undef declare_type

size_t DoSteps() const final;

void DoGetAbsoluteSteps(const VariableBase &variable,
Expand Down

0 comments on commit 2ccf622

Please sign in to comment.