mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
VS2019 fixes
This commit is contained in:
parent
bd3fa65692
commit
506d9868fa
3 changed files with 5 additions and 5 deletions
|
@ -37,10 +37,10 @@
|
||||||
/* Define to 1 if you have the <cygwin/signal.h> header file. */
|
/* Define to 1 if you have the <cygwin/signal.h> header file. */
|
||||||
#undef HAVE_CYGWIN_SIGNAL_H
|
#undef HAVE_CYGWIN_SIGNAL_H
|
||||||
|
|
||||||
//#define _TIMESPEC_DEFINED
|
#define _TIMESPEC_DEFINED
|
||||||
|
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
#define _CRT_NO_TIME_T
|
//#define _CRT_NO_TIME_T
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
|
/* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
#include <sys/types.h> /* for _off_t */
|
#include <sys/types.h> /* for _off_t */
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h> /* for rand, srand, _strtoxxx */
|
#include <stdlib.h> /* for rand, srand, _strtoxxx */
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
//#ifdef HAVE_PTHREAD
|
//#ifdef HAVE_PTHREAD
|
||||||
//#include <pthread.h>
|
//#include <pthread.h>
|
||||||
|
|
|
@ -99,12 +99,12 @@ public:
|
||||||
return itr;
|
return itr;
|
||||||
}
|
}
|
||||||
|
|
||||||
T& operator*()
|
T& operator*() const
|
||||||
{
|
{
|
||||||
return *mPtr;
|
return *mPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
T* operator->()
|
T* operator->() const
|
||||||
{
|
{
|
||||||
return mPtr;
|
return mPtr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue