Skip to content

Commit

Permalink
q20::iter_reference_t: fix typo in comment
Browse files Browse the repository at this point in the history
It's std::iter_reference_t we're alike to, not q20::iter_reference_t,
which we're conditionally defining here.

Amends e86e275.

Pick-to: 6.8
Change-Id: I4e8b7a0da8c5563564bcad85dc16b8fe203e2171
Reviewed-by: Giuseppe D'Angelo <[email protected]>
  • Loading branch information
marcmutz committed Dec 6, 2024
1 parent 9b6f33f commit c3de090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/global/q20iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace q20 {
#endif
} // namespace q20

// like q20::iter_reference_t
// like std::iter_reference_t
namespace q20 {
#ifdef __cpp_lib_ranges
using std::iter_reference_t;
Expand Down

0 comments on commit c3de090

Please sign in to comment.