We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a119f6 commit b17427fCopy full SHA for b17427f
src/utils/backoff_performer.cpp
@@ -26,10 +26,10 @@
26
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
*
28
*/
29
-
30
-#include <algorithm>
31
-#include <limits>
32
#include "utils/backoff_performer.h"
+#undef max // solves the windows issue which prevents using std::numeric_limits<T>::max()
+#include <limits>
+#include <algorithm>
33
34
using std::min;
35
using std::numeric_limits;
0 commit comments