Browse Source

compiler bug with msvc9

David Rose 17 years ago
parent
commit
29969b0fa5

+ 0 - 24
dtool/src/interrogatedb/interrogateFunction.I

@@ -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

+ 24 - 0
dtool/src/interrogatedb/interrogateFunction.cxx

@@ -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

+ 2 - 2
dtool/src/interrogatedb/interrogateFunction.h

@@ -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;

+ 0 - 29
dtool/src/interrogatedb/interrogateType.I

@@ -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

+ 29 - 0
dtool/src/interrogatedb/interrogateType.cxx

@@ -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

+ 2 - 2
dtool/src/interrogatedb/interrogateType.h

@@ -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;