From 3aaa6c903b4ba3bbb0b5ceed4de52188beaff7e8 Mon Sep 17 00:00:00 2001 From: Niklas Hauser Date: Thu, 7 Jan 2016 10:51:09 +0000 Subject: [PATCH] Update documentation and changelog. --- "frameworks\\utest/utest/types.h" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/frameworks\\utest/utest/types.h" "b/frameworks\\utest/utest/types.h" index c936666bec..6eb05c3816 100644 --- "a/frameworks\\utest/utest/types.h" +++ "b/frameworks\\utest/utest/types.h" @@ -78,11 +78,13 @@ namespace v1 { LOCATION_UNKNOWN ///< A failure occurred in an unknown location }; + /// Contains the reason and location of the failure. struct failure_t { failure_t(failure_reason_t reason) : reason(reason) {} failure_t(location_t location) : location(location) {} failure_t(failure_reason_t reason, location_t location) : reason(reason), location(location) {} + /// @returns a copy of the failure with the reason ignored. failure_t ignored() const { return failure_t(failure_reason_t(reason | REASON_IGNORE), location); }