Blender Git Loki

Git Commits -> Revision cfa167d

Revision cfa167d by Ankit Meel (soc-2020-io-performance)
June 28, 2020, 08:44 (GMT)
Use Span<T> instead of const Vector<T> &

Reasons to prefer `Span`:
> - It is shorter.
> - It is const by default (whereas you could easily forget the const in `const Vector<T> &`).
And I did forget the `const` here!
https://developer.blender.org/D7987#inline-64852

Commit Details:

Full Hash: cfa167d57fd607a0adff5efd16c9cc0da5e5a2e4
Parent Commit: b22f8ae
Lines Changed: +18, -18

2 Modified Paths:

/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+9, -9) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+9, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021