File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -330,22 +330,13 @@ AttributeWithShapeAndResource<T>::operator bool() const
330330}
331331
332332#define OPENPMD_INSTANTIATE_GETATTRIBUTE (type ) \
333+ template struct AttributeWithShape <type>; \
334+ template struct AttributeWithShapeAndResource <type>; \
333335 template AttributeWithShape<type> PreloadAdiosAttributes::getAttribute ( \
334336 std::string const &name) const ; \
335337 template auto AdiosAttributes::getAttribute ( \
336338 size_t step, adios2::IO &IO, std::string const &name) const \
337- -> AttributeWithShapeAndResource<type>; \
338- template AttributeWithShapeAndResource< \
339- type>::AttributeWithShapeAndResource(AttributeWithShape<type> parent); \
340- template AttributeWithShapeAndResource<type>:: \
341- AttributeWithShapeAndResource ( \
342- size_t len_in, \
343- type const \
344- *data_in, /* NOLINTNEXTLINE(bugprone-macro-parentheses) */ \
345- std::optional<std::vector<type>> resource_in); \
346- template AttributeWithShapeAndResource< \
347- type>::AttributeWithShapeAndResource(adios2::Attribute<type> attr); \
348- template AttributeWithShapeAndResource<type>::operator bool () const ;
339+ -> AttributeWithShapeAndResource<type>;
349340ADIOS2_FOREACH_TYPE_1ARG (OPENPMD_INSTANTIATE_GETATTRIBUTE)
350341#undef OPENPMD_INSTANTIATE_GETATTRIBUTE
351342} // namespace openPMD::detail
You can’t perform that action at this time.
0 commit comments