File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -433,8 +433,8 @@ LIBHAT_EXPORT namespace hat {
433433 i = end;
434434 break ;
435435 }
436- const auto addr = const_cast <typename detail::result_type_for<In>::underlying_type>(result.get () - offset );
437- *out++ = addr;
436+ const auto addr = const_cast <typename detail::result_type_for<In>::underlying_type>(result.get ());
437+ *out++ = addr - offset ;
438438 i = addr + detail::to_stride (alignment);
439439 }
440440
@@ -485,8 +485,8 @@ LIBHAT_EXPORT namespace hat {
485485 if (!result.has_result ()) {
486486 break ;
487487 }
488- const auto addr = const_cast <typename detail::result_type_for<In>::underlying_type>(result.get () - offset );
489- *out++ = addr;
488+ const auto addr = const_cast <typename detail::result_type_for<In>::underlying_type>(result.get ());
489+ *out++ = addr - offset ;
490490 i = addr + detail::to_stride (alignment);
491491 matches++;
492492 }
You can’t perform that action at this time.
0 commit comments