fix build with -DMAXTIME=123
This commit is contained in:
parent
35e7697474
commit
ce3bc006e7
|
@ -794,10 +794,11 @@ public:
|
|||
*/
|
||||
static const Token * startOfExecutableScope(const Token * tok);
|
||||
|
||||
static bool isMaxTime() {
|
||||
#ifdef MAXTIME
|
||||
bool isMaxTime() const {
|
||||
return (std::time(0) > maxtime);
|
||||
#else
|
||||
static bool isMaxTime() {
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue