Skip to content

Commit

Permalink
Dodging VisualStudio's #define of max().
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Mar 19, 2015
1 parent 6cf02ed commit eab96f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/grpc++/completion_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit eab96f5

Please sign in to comment.