fix "no use time_out param" in SemLockTemplate

This commit is contained in:
hyzboy 2019-12-24 21:21:33 +08:00
parent 7152bd677c
commit f268530fd2

View File

@ -1,4 +1,4 @@
#ifndef HGL_THREAD_SEM_LOCK_INCLUDE #ifndef HGL_THREAD_SEM_LOCK_INCLUDE
#define HGL_THREAD_SEM_LOCK_INCLUDE #define HGL_THREAD_SEM_LOCK_INCLUDE
#include<hgl/thread/Semaphore.h> #include<hgl/thread/Semaphore.h>
@ -53,7 +53,7 @@ namespace hgl
* @param time_out * @param time_out
* @return * @return
*/ */
bool Acquire(double time_out=0.0f){return sem.Acquire();} bool Acquire(double time_out=0.0f){return sem.Acquire(time_out);}
};//template<typename T,typename L> class SemLockTemplate };//template<typename T,typename L> class SemLockTemplate
/** /**