Skip to content

Commit

Permalink
#1899: runnable: try moving trace context section up to fix Mac bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Sep 27, 2022
1 parent ba19bad commit 8568fb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vt/runnable/runnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ namespace vt { namespace runnable {
namespace detail {

struct Contexts {
#if vt_check_enabled(trace_enabled)
bool has_trace = false;
ctx::Trace trace;
#endif
ctx::SetContext setcontext;
bool has_td = false;
ctx::TD td;
Expand All @@ -79,10 +83,6 @@ struct Contexts {
ctx::Collection col;
bool has_lb = false;
ctx::LBData lb;
#if vt_check_enabled(trace_enabled)
bool has_trace = false;
ctx::Trace trace;
#endif
};

} /* end namespace detail */
Expand Down

0 comments on commit 8568fb7

Please sign in to comment.