diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-08 14:14:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-08 14:14:26 +0200 |
commit | 36e0c88e7a3912c8a2e6594841172adb9c14525b (patch) | |
tree | 909a269ded721a0201a01d3493af6fc11dd75292 /bbot/diagnostics | |
parent | cfd31379be5eefb22a72b5ee90ce8fd17a0802b7 (diff) |
Implement machine enumeration
Diffstat (limited to 'bbot/diagnostics')
-rw-r--r-- | bbot/diagnostics | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bbot/diagnostics b/bbot/diagnostics index 6699c45..ebf658d 100644 --- a/bbot/diagnostics +++ b/bbot/diagnostics @@ -7,8 +7,7 @@ #include <butl/diagnostics> -#include <bbot/types> -#include <bbot/utility> +#include <bbot/types> // Note: not <bbot/utility>. namespace bbot { @@ -106,7 +105,12 @@ namespace bbot trace_mark_base (const char* name, const void* data = nullptr); }; using trace_mark = butl::diag_mark<trace_mark_base>; - using tracer = trace_mark; + + // using tracer = trace_mark; + class tracer: public trace_mark + { + public: using trace_mark::trace_mark; + }; // fail // @@ -144,7 +148,7 @@ namespace bbot using fail_end = butl::diag_noreturn_end<fail_end_base>; extern fail_mark fail; - extern const fail_end endf; + extern const fail_end endf; } #endif // BBOT_DIAGNOSTICS |