IAP GITLAB

Skip to content
Snippets Groups Projects
Commit cae982f9 authored by ralfulrich's avatar ralfulrich
Browse files

fix template default parameter for secondaryview

parent d32e4a6b
No related branches found
No related tags found
1 merge request!254History
...@@ -147,7 +147,7 @@ public: ...@@ -147,7 +147,7 @@ public:
class Decay1 : public DecayProcess<Decay1> { class Decay1 : public DecayProcess<Decay1> {
public: public:
Decay1(const int v) { Decay1(const int) {
cout << "Decay1()" << endl; cout << "Decay1()" << endl;
globalCount++; globalCount++;
} }
......
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
namespace corsika::stack { namespace corsika::stack {
// forward-decl:
template <class T1, template <class> class T2>
class DefaultSecondaryProducer;
/** /**
* @class SecondaryView * @class SecondaryView
* *
...@@ -57,7 +61,7 @@ namespace corsika::stack { ...@@ -57,7 +61,7 @@ namespace corsika::stack {
template <typename StackDataType, template <typename StackDataType,
template <typename> typename ParticleInterface, template <typename> typename ParticleInterface,
template <class T1, template <class> class T2> class MSecondaryProducer> template <class T1, template <class> class T2> class MSecondaryProducer = DefaultSecondaryProducer>
class SecondaryView : public Stack<StackDataType&, ParticleInterface>, class SecondaryView : public Stack<StackDataType&, ParticleInterface>,
public MSecondaryProducer<StackDataType, ParticleInterface> { public MSecondaryProducer<StackDataType, ParticleInterface> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment