From 6f9feee759af6159d1a9f9c8f1ef3d2168e810e9 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 22 Jan 2017 16:45:49 +0100 Subject: [PATCH] common: init m_vtune_id --- common/src/Utilities/Perf.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/src/Utilities/Perf.cpp b/common/src/Utilities/Perf.cpp index 746fd3cee2..01a263fd5e 100644 --- a/common/src/Utilities/Perf.cpp +++ b/common/src/Utilities/Perf.cpp @@ -192,7 +192,10 @@ void dump_and_reset() // Dummy implementation //////////////////////////////////////////////////////////////////////////////// -InfoVector::InfoVector(const char *prefix) {} +InfoVector::InfoVector(const char *prefix) + : m_vtune_id(0) +{ +} void InfoVector::map(uptr x86, u32 size, const char *symbol) {} void InfoVector::map(uptr x86, u32 size, u32 pc) {} void InfoVector::reset() {}