Skip to content

Commit 5d33ee5

Browse files
committed
variant bugfix
1 parent 395830c commit 5d33ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/bredis/impl/protocol.ipp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ template <typename Iterator, typename Policy> struct bulk_string_parser_t {
289289

290290
auto count_result = count_parser_t::apply(from, to, already_consumed);
291291
auto count_int_result =
292-
boost::apply_visitor(count_unwrapper_t{}, count_result);
292+
boost::apply_visitor(count_unwrapper_t(), count_result);
293293
auto *count_wrapped = boost::get<count_value_t>(&count_int_result);
294294
if (!count_wrapped) {
295295
return boost::get<result_t>(count_int_result);
@@ -330,7 +330,7 @@ template <typename Iterator, typename Policy> struct array_parser_t {
330330

331331
auto count_result = count_parser_t::apply(from, to, already_consumed);
332332
auto count_int_result =
333-
boost::apply_visitor(count_unwrapper_t{}, count_result);
333+
boost::apply_visitor(count_unwrapper_t(), count_result);
334334
auto *count_wrapped = boost::get<count_value_t>(&count_int_result);
335335
if (!count_wrapped) {
336336
return boost::get<result_t>(count_int_result);

0 commit comments

Comments
 (0)