diff --git a/src/ripple/beast/utility/Journal.h b/src/ripple/beast/utility/Journal.h index 1785315a6a..b89bc3f3d0 100644 --- a/src/ripple/beast/utility/Journal.h +++ b/src/ripple/beast/utility/Journal.h @@ -175,17 +175,12 @@ public: { public: /** Create a stream which produces no output. */ - Stream () + explicit Stream () : m_sink (getNullSink()) , m_level (severities::kDisabled) { } - Stream (Sink& sink) - : m_sink (sink) - , m_level (sink.threshold()) - { } - - /** Create stream that writes at the given level. + /** Create a stream that writes at the given level. Constructor is inlined so checking active() very inexpensive. */