Replace default_handlers value by a reference.

pull/2559/head
Vincent Coubard 2016-08-26 14:43:51 +01:00
parent 4bf28d474c
commit eed52a05d5
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ const handlers_t utest::v1::verbose_continue_handlers = {
verbose_case_failure_handler
};
const handlers_t& utest::v1::default_handlers = greentea_abort_handlers;
// --- SPECIAL HANDLERS ---
static void test_failure_handler(const failure_t failure) {

View File

@ -185,7 +185,7 @@ namespace v1 {
extern const handlers_t selftest_handlers;
/// The greentea aborting handlers are the default
const handlers_t default_handlers = greentea_abort_handlers;
extern const handlers_t& default_handlers;
} // namespace v1
} // namespace utest