mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Make explicit template instantiation definition a declaration in filter.h
This commit is contained in:
parent
1fe775574e
commit
d624265ef8
2 changed files with 3 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ public:
|
|||
// Without an explicit instantiation of vector<FilterMatch>, the Intel compiler
|
||||
// will complain about the threadprivate directive on filter_matches. Note that
|
||||
// this has to happen *outside* of the openmc namespace
|
||||
template class std::vector<openmc::FilterMatch>;
|
||||
extern template class std::vector<openmc::FilterMatch>;
|
||||
|
||||
namespace openmc {
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
#include "openmc/tallies/filter_universe.h"
|
||||
#include "openmc/tallies/filter_zernike.h"
|
||||
|
||||
// explicit template instantiation definition
|
||||
template class std::vector<openmc::FilterMatch>;
|
||||
|
||||
namespace openmc {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue