eventq: I'm sick of the warning about MaxTick being unused.
This commit is contained in:
parent
7cc2a88038
commit
0b83563a9c
1 changed files with 1 additions and 3 deletions
|
@ -38,8 +38,6 @@
|
||||||
#define __HOST_HH__
|
#define __HOST_HH__
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <limits>
|
|
||||||
|
|
||||||
|
|
||||||
/** uint64_t constant */
|
/** uint64_t constant */
|
||||||
#define ULL(N) ((uint64_t)N##ULL)
|
#define ULL(N) ((uint64_t)N##ULL)
|
||||||
|
@ -58,7 +56,7 @@ typedef int64_t Counter;
|
||||||
*/
|
*/
|
||||||
typedef int64_t Tick;
|
typedef int64_t Tick;
|
||||||
|
|
||||||
const Tick MaxTick = std::numeric_limits<Tick>::max();
|
const Tick MaxTick = LL(0x7fffffffffffffff);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Address type
|
* Address type
|
||||||
|
|
Loading…
Reference in a new issue