Solaris 10 updates
Added declarations of static member storage for templated classes.
This commit is contained in:
parent
ee22109ec5
commit
b23a49c1f2
4 changed files with 12 additions and 0 deletions
|
|
@ -32,6 +32,9 @@
|
|||
using namespace std;
|
||||
using namespace Cantera;
|
||||
|
||||
// Assign storage for the static member of the Templated Cabinet class
|
||||
Cabinet<XML_Node> * Cabinet<XML_Node>::__storage = 0;
|
||||
|
||||
inline XML_Node* _xml(int i) {
|
||||
return Cabinet<XML_Node>::cabinet(false)->item(i);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@ inline ThermoPhase* _th(int n) {
|
|||
return Storage::__storage->__thtable[n];
|
||||
}
|
||||
|
||||
// Assign storage for the templated Cabinet class's static member
|
||||
Cabinet<Func1> * Cabinet<Func1>::__storage = 0;
|
||||
|
||||
inline Func1* _func(int i) {
|
||||
return Cabinet<Func1>::cabinet()->item(i);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
|
||||
#include "flib_defs.h"
|
||||
|
||||
// Assign storage for the templated classes' static member
|
||||
Cabinet<XML_Node> * Cabinet<XML_Node>::__storage=0;
|
||||
|
||||
inline XML_Node* _xml(const integer* n) {
|
||||
return Cabinet<XML_Node>::cabinet()->item(*n);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@
|
|||
|
||||
#include "../../clib/src/Cabinet.h"
|
||||
|
||||
// Assign storage for the templated classes static member
|
||||
Cabinet<XML_Node> * Cabinet<XML_Node>::__storage = 0;
|
||||
|
||||
inline XML_Node* _xml(const integer* i) {
|
||||
return Cabinet<XML_Node>::cabinet(false)->item(*i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue