Merge pull request #1095 from nicolasnoble/no-minmax

Dodging VisualStudio's #define of max().
pull/1066/head
Vijay Pai 10 years ago
commit 99f1c1ee7e
  1. 2
      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);
}

Loading…
Cancel
Save