From 7fdc6f54539eaa87fa7842f044772722e7dd8dde Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 29 Apr 2018 02:56:23 +0200 Subject: [PATCH] Zero as initial max value is fine too. --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 141ca8f3..bbbf7fbf 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -566,7 +566,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask ) auto fend = frees.end(); double min = 0; - double max = std::numeric_limits::min(); + double max = 0; double usage = 0; auto ptr = plot->data.data();