commit | 8479eb5955c93cbc8951d0319b2fe43ff19cc403 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed May 08 09:48:55 2019 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed May 08 09:48:55 2019 -0700 |
tree | 53fde47dd7a25e0d46763d2536e3a205e2e07c92 | |
parent | 710d459acac88fd784d4ead0ba75b9aa623c48d4 [diff] [blame] |
[iter] Fix hb_sink() to accept rvalue
diff --git a/src/hb-iter.hh b/src/hb-iter.hh index aa5eb9c..a339013 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh
@@ -569,7 +569,7 @@ template <typename Sink> struct hb_sink_t { - hb_sink_t (Sink&& s) : s (s) {} + hb_sink_t (Sink s) : s (s) {} template <typename Iter, hb_requires (hb_is_iterator (Iter))>