David Rose 15 gadi atpakaļ
vecāks
revīzija
7a72bce383

+ 1 - 1
direct/src/distributed/cConnectionRepository.I

@@ -424,7 +424,7 @@ set_time_warning(float time_warning) {
 //       Access: Published
 //  Description: Returns the current setting of the time_warning field.
 ////////////////////////////////////////////////////////////////////
-INLINE bool CConnectionRepository::
+INLINE float CConnectionRepository::
 get_time_warning() const {
   return _time_warning;
 }

+ 1 - 1
direct/src/distributed/cConnectionRepository.h

@@ -164,7 +164,7 @@ PUBLISHED:
   INLINE bool get_verbose() const;
 
   INLINE void set_time_warning(float time_warning);
-  INLINE bool get_time_warning() const;
+  INLINE float get_time_warning() const;
 
 private:
 #ifdef HAVE_PYTHON