From eab96f51fb43a959f73c809b878a32af59819b81 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 19 Mar 2015 06:41:10 +0100 Subject: [PATCH] Dodging VisualStudio's #define of max(). --- include/grpc++/completion_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grpc++/completion_queue.h b/include/grpc++/completion_queue.h index d742d85ef72..6b2f539fa27 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); }