Skip to content

Commit

Permalink
Set priority for TDbgSelector
Browse files Browse the repository at this point in the history
([arc::pullid] 4e99455e-822bd5f1-337c042e-e43052f9)

ref:b41f332f86665a04262f1452574d2cc82522c572
  • Loading branch information
mityada committed Mar 5, 2019
1 parent 1972797 commit 790753c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions util/stream/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ namespace {
};
}

template <>
struct TSingletonTraits<TDbgSelector> {
static constexpr size_t Priority = 8;
};

IOutputStream& StdDbgStream() noexcept {
return *(Singleton<TDbgSelector>()->Out);
}
Expand Down

0 comments on commit 790753c

Please sign in to comment.