diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-09 12:58:47 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-09 12:58:47 +0300 |
commit | f7c0f1b8b83ac475755b633abf59cf9f447b2d49 (patch) | |
tree | 97302f741ce4e40f6e4de9f0cfd54c7320ee7fd5 /source/blender/blenlib/intern/dot_export.cc | |
parent | 7d2b4ae9c6ecce394130cd08694914bf93497a11 (diff) |
BLI: rename ArrayRef to Span
This also renames `MutableArrayRef` to `MutableSpan`.
The name "Span" works better, because `std::span` will provide
similar functionality in C++20. Furthermore, a shorter, more
concise name for a common data structure is nice.
Diffstat (limited to 'source/blender/blenlib/intern/dot_export.cc')
-rw-r--r-- | source/blender/blenlib/intern/dot_export.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/dot_export.cc b/source/blender/blenlib/intern/dot_export.cc index f08fb02ec21..a2cf843c473 100644 --- a/source/blender/blenlib/intern/dot_export.cc +++ b/source/blender/blenlib/intern/dot_export.cc @@ -250,8 +250,8 @@ std::string color_attr_from_hsv(float h, float s, float v) NodeWithSocketsRef::NodeWithSocketsRef(Node &node, StringRef name, - ArrayRef<std::string> input_names, - ArrayRef<std::string> output_names) + Span<std::string> input_names, + Span<std::string> output_names) : m_node(&node) { std::stringstream ss; |