Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jul 7, 2024
1 parent 25c4d5f commit 826e50a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions include/bitcoin/system/impl/data/data_reference.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,26 @@ constexpr data_reference::data_reference() NOEXCEPT
{
}

constexpr data_reference::data_reference(
const data_slice& data) NOEXCEPT
constexpr data_reference::data_reference(const data_slice& data) NOEXCEPT
: data_slice(data)
{
}

// data_slice(std::string) is SCONSTEXPR.
SCONSTEXPR data_reference::data_reference(
const std::string& text) NOEXCEPT
SCONSTEXPR data_reference::data_reference(const std::string& text) NOEXCEPT
: data_slice(text)
{
}

// data_slice(std_vector) is VCONSTEXPR.
VCONSTEXPR data_reference::data_reference(
const data_chunk& data) NOEXCEPT
VCONSTEXPR data_reference::data_reference(const data_chunk& data) NOEXCEPT
: data_slice(data)
{
}

// data_array constructor.
template <data_reference::size_type Size>
constexpr data_reference::data_reference(
const data_array<Size>& data) NOEXCEPT
constexpr data_reference::data_reference(const data_array<Size>& data) NOEXCEPT
: data_slice(data)
{
}
Expand Down

0 comments on commit 826e50a

Please sign in to comment.