From 70dab667b9ce010a4c5642967e80a8733b519590 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 13 Jan 2022 14:03:51 +0300 Subject: [PATCH] mdbx++: fix missing `&` for `std::ostream &operator<<()`. --- mdbx.h++ | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mdbx.h++ b/mdbx.h++ index 55625498..670916c1 100644 --- a/mdbx.h++ +++ b/mdbx.h++ @@ -1252,14 +1252,14 @@ struct LIBMDBX_API to_base64 { bool is_erroneous() const noexcept { return false; } }; -inline ::std::ostream &operator<<(::std::ostream out, const to_hex &wrapper) { +inline ::std::ostream &operator<<(::std::ostream &out, const to_hex &wrapper) { return out << wrapper.as_string(); } -inline ::std::ostream &operator<<(::std::ostream out, +inline ::std::ostream &operator<<(::std::ostream &out, const to_base58 &wrapper) { return out << wrapper.as_string(); } -inline ::std::ostream &operator<<(::std::ostream out, +inline ::std::ostream &operator<<(::std::ostream &out, const to_base64 &wrapper) { return out << wrapper.as_string(); }