Skip to content

Commit 6ff4740

Browse files
D0zeemzimbres
authored andcommitted
Cosmetic changes
1 parent bd799af commit 6ff4740

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

include/boost/redis/resp3/node.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,12 @@ struct offset_string {
6565
std::size_t size{};
6666

6767
operator std::string() const { return std::string{data}; }
68-
};
6968

70-
inline std::ostream& operator<<(std::ostream& os, offset_string const& s) { return os << s.data; }
69+
friend std::ostream& operator<<(std::ostream& os, offset_string const& s)
70+
{
71+
return os << s.data;
72+
}
73+
};
7174

7275
using offset_node = basic_node<offset_string>;
7376

include/boost/redis/response.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ using generic_response = adapter::result<std::vector<resp3::node>>;
3636
* that manages filling of flat_response_value.
3737
*/
3838
namespace adapter::detail {
39-
template <typename Result>
39+
template <class Result>
4040
class general_aggregate;
4141
}
4242

0 commit comments

Comments
 (0)