Skip to content

Commit

Permalink
[FOLD] Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bachase committed Dec 4, 2017
1 parent febedc4 commit 0e4da22
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/ripple/beast/utility/Journal.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class Journal
// Severity level / threshold of a Journal message.
using Severity = severities::Severity;

// Invariant: m_sink always points to a valid Sink
Sink* m_sink;

public:
Expand Down Expand Up @@ -262,15 +263,6 @@ static_assert(std::is_nothrow_destructible<Stream>::value == true, "");
: m_sink (&sink)
{ }

/** Create a journal from another journal. */
Journal (Journal const& other)
: Journal (other.sink())
{ }


/** Destroy the journal. */
~Journal () = default;

/** Returns the Sink associated with this Journal. */
Sink& sink() const
{
Expand Down

0 comments on commit 0e4da22

Please sign in to comment.