diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-03-19 06:41:10 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-03-19 06:41:10 +0100 |
commit | eab96f51fb43a959f73c809b878a32af59819b81 (patch) | |
tree | f1e0eedd24e3c5c03468aedf9b562ec29270a555 /include | |
parent | 6cf02edae146694e6e9378e0b6fb635439b9c140 (diff) |
Dodging VisualStudio's #define of max().
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/completion_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/completion_queue.h b/include/grpc++/completion_queue.h index d742d85ef7..6b2f539fa2 100644 --- a/include/grpc++/completion_queue.h +++ b/include/grpc++/completion_queue.h @@ -88,7 +88,7 @@ class CompletionQueue { // Returns false if the queue is ready for destruction, true if event bool Next(void **tag, bool *ok) { return (AsyncNext(tag,ok, - std::chrono::system_clock::time_point::max()) != + (std::chrono::system_clock::time_point::max)()) != SHUTDOWN); } |