From f367b16dc06213fdb26574c43768d4f1e6d4f50d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 29 Jul 2020 19:13:10 +0200 Subject: [PATCH] Add missing operator. --- server/TracyView.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.hpp b/server/TracyView.hpp index d4a2a87d..2290335a 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -71,6 +71,7 @@ class View struct RangeSlim { bool operator==( const Range& other ) const { return other.active == active && other.min == min && other.max == max; } + bool operator!=( const Range& other ) const { return !(*this == other); } void operator=( const Range& other ) { active = other.active; min = other.min; max = other.max; } int64_t min, max;