Browse Source

incorrect INLINE, move method body, change Access comment

David Rose 21 years ago
parent
commit
4bced0c109
1 changed files with 11 additions and 11 deletions
  1. 11 11
      panda/src/gobj/materialPool.cxx

+ 11 - 11
panda/src/gobj/materialPool.cxx

@@ -23,6 +23,17 @@
 MaterialPool *MaterialPool::_global_ptr = (MaterialPool *)NULL;
 
 
+////////////////////////////////////////////////////////////////////
+//     Function: MaterialPool::write
+//       Access: Published, Static
+//  Description: Lists the contents of the material pool to the
+//               indicated output stream.
+////////////////////////////////////////////////////////////////////
+void MaterialPool::
+write(ostream &out, unsigned int) {
+  get_ptr()->ns_list_contents(out);
+}
+
 ////////////////////////////////////////////////////////////////////
 //     Function: MaterialPool::ns_get_material
 //       Access: Public
@@ -91,14 +102,3 @@ get_ptr() {
   }
   return _global_ptr;
 }
-
-////////////////////////////////////////////////////////////////////
-//     Function: MaterialPool::write
-//       Access: Public, Static
-//  Description: Lists the contents of the material pool to the
-//               indicated output stream.
-////////////////////////////////////////////////////////////////////
-INLINE void MaterialPool::
-write(ostream &out, unsigned int) {
-  get_ptr()->ns_list_contents(out);
-}