Browse Source

*** empty log message ***

David Rose 24 years ago
parent
commit
d5940b0517
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dtool/src/interrogatedb/vector_int.h
  2. 1 1
      panda/src/express/profileTimer.cxx

+ 1 - 1
dtool/src/interrogatedb/vector_int.h

@@ -21,7 +21,7 @@
 
 
 #ifdef HAVE_DINKUM
 #ifdef HAVE_DINKUM
 #define VV_INT std::_Vector_val<int, std::allocator<int> >
 #define VV_INT std::_Vector_val<int, std::allocator<int> >
-EXPORT_TEMPLATE_CLASS(EXPCL_DTOOL, EXPTP_DTOOL, VV_INT)
+EXPORT_TEMPLATE_CLASS(EXPCL_DTOOLCONFIG, EXPTP_DTOOLCONFIG, VV_INT)
 #endif
 #endif
 EXPORT_TEMPLATE_CLASS(EXPCL_DTOOLCONFIG, EXPTP_DTOOLCONFIG, std::vector<int>)
 EXPORT_TEMPLATE_CLASS(EXPCL_DTOOLCONFIG, EXPTP_DTOOLCONFIG, std::vector<int>)
 typedef vector<int> vector_int;
 typedef vector<int> vector_int;

+ 1 - 1
panda/src/express/profileTimer.cxx

@@ -39,7 +39,7 @@ ProfileTimer(const ProfileTimer& other) {
   _autoTimerCount=other._autoTimerCount;
   _autoTimerCount=other._autoTimerCount;
   _entryCount=other._entryCount;
   _entryCount=other._entryCount;
   if (other._entries) {
   if (other._entries) {
-    memcpy(_entries, other._entries, _entryCount * sizeof TimerEntry);
+    memcpy(_entries, other._entries, _entryCount * sizeof(TimerEntry));
   }
   }
 }
 }