generic-tracing: fix bounds-checking mode

This fixes a bug (uninitialized member variable check_bounds)
introduced in commit 43ebf3e, which led to bounds checking sometimes
being accidentally enabled.

Change-Id: Ia2992a38dd83416ce0ec2a9d845d7827617cbd89
This commit is contained in:
Horst Schirmeier
2021-03-26 15:36:21 +01:00
parent 2fd5c20a7c
commit 355015fb64

View File

@ -37,7 +37,7 @@ public:
bool run();
GenericTracing() : restore(false),
full_trace(false), m_log("GenericTracing", false) {}
full_trace(false), check_bounds(false), m_log("GenericTracing", false) {}
};
#endif // __TRACING_TEST_HPP__