compiler bug with msvc9

This commit is contained in:
David Rose 2008-11-12 01:30:25 +00:00
parent 51cbe1fb72
commit 29969b0fa5
6 changed files with 57 additions and 57 deletions

View File

@ -13,30 +13,6 @@
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: InterrogateFunction::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE InterrogateFunction::
InterrogateFunction(InterrogateModuleDef *def) :
InterrogateComponent(def)
{
_flags = 0;
_class = 0;
_instances = (Instances *)NULL;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateFunction::Copy Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE InterrogateFunction::
InterrogateFunction(const InterrogateFunction &copy) {
(*this) = copy;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateFunction::is_global
// Access: Public

View File

@ -17,6 +17,30 @@
#include "interrogate_datafile.h"
#include "interrogateDatabase.h"
////////////////////////////////////////////////////////////////////
// Function: InterrogateFunction::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
InterrogateFunction::
InterrogateFunction(InterrogateModuleDef *def) :
InterrogateComponent(def)
{
_flags = 0;
_class = 0;
_instances = (Instances *)NULL;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateFunction::Copy Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
InterrogateFunction::
InterrogateFunction(const InterrogateFunction &copy) {
(*this) = copy;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateFunction::Copy Assignment Operator
// Access: Public

View File

@ -31,8 +31,8 @@ class CPPInstance;
////////////////////////////////////////////////////////////////////
class EXPCL_DTOOLCONFIG InterrogateFunction : public InterrogateComponent {
public:
INLINE InterrogateFunction(InterrogateModuleDef *def = NULL);
INLINE InterrogateFunction(const InterrogateFunction &copy);
InterrogateFunction(InterrogateModuleDef *def = NULL);
InterrogateFunction(const InterrogateFunction &copy);
void operator = (const InterrogateFunction &copy);
INLINE bool is_global() const;

View File

@ -13,35 +13,6 @@
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: InterrogateType::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE InterrogateType::
InterrogateType(InterrogateModuleDef *def) :
InterrogateComponent(def)
{
_flags = 0;
_outer_class = 0;
_atomic_token = AT_not_atomic;
_wrapped_type = 0;
_destructor = 0;
_cpptype = (CPPType *)NULL;
_cppscope = (CPPScope *)NULL;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateType::Copy Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE InterrogateType::
InterrogateType(const InterrogateType &copy) {
(*this) = copy;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateType::is_global
// Access: Public

View File

@ -22,6 +22,35 @@
// value for functions that must return a const string reference.
string InterrogateType::_empty_string;
////////////////////////////////////////////////////////////////////
// Function: InterrogateType::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
InterrogateType::
InterrogateType(InterrogateModuleDef *def) :
InterrogateComponent(def)
{
_flags = 0;
_outer_class = 0;
_atomic_token = AT_not_atomic;
_wrapped_type = 0;
_destructor = 0;
_cpptype = (CPPType *)NULL;
_cppscope = (CPPScope *)NULL;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateType::Copy Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
InterrogateType::
InterrogateType(const InterrogateType &copy) {
(*this) = copy;
}
////////////////////////////////////////////////////////////////////
// Function: InterrogateType::Derivation::output
// Access: Public

View File

@ -31,8 +31,8 @@ class CPPScope;
////////////////////////////////////////////////////////////////////
class EXPCL_DTOOLCONFIG InterrogateType : public InterrogateComponent {
public:
INLINE InterrogateType(InterrogateModuleDef *def = NULL);
INLINE InterrogateType(const InterrogateType &copy);
InterrogateType(InterrogateModuleDef *def = NULL);
InterrogateType(const InterrogateType &copy);
void operator = (const InterrogateType &copy);
INLINE bool is_global() const;