From 5b29e65bc528884a00528a32945b00e67214420d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 8 May 2020 01:48:37 +0200 Subject: [PATCH] Initial value of DecayValue might be active. --- server/TracyDecayValue.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyDecayValue.hpp b/server/TracyDecayValue.hpp index bcce09fa..dff7cb4d 100644 --- a/server/TracyDecayValue.hpp +++ b/server/TracyDecayValue.hpp @@ -10,9 +10,9 @@ template class DecayValue { public: - DecayValue( const T& init ) + DecayValue( const T& init, bool active = false ) : m_value( init ) - , m_active( false ) + , m_active( active ) { }