From 693db74380193ba17cccd588a5b178685d5dd710 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 10 Mar 2020 21:37:39 +0100 Subject: [PATCH] Add CallstackFrameId comparator. --- server/TracyEvent.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index 2003db00..a4f8f3eb 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -363,6 +363,8 @@ union CallstackFrameId enum { CallstackFrameIdSize = sizeof( CallstackFrameId ) }; +static tracy_force_inline bool operator==( const CallstackFrameId& lhs, const CallstackFrameId& rhs ) { return lhs.data == rhs.data; } + struct CallstackFrameTree {