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:
@ -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__
|
||||
|
||||
Reference in New Issue
Block a user