diff options
author | Hans Goudey <h.goudey@me.com> | 2021-08-31 01:54:43 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-08-31 01:54:43 +0300 |
commit | 3fec225931fd345c4d9b6fd57bc06ac6232dd789 (patch) | |
tree | c9ab69d68dd15f12bcec5c55edb41e199c7ee39f /source/blender/functions/tests | |
parent | f0443b88593e1964b64ae999d6b6297d55028267 (diff) |
Cleanup: Rename function, add comments
Diffstat (limited to 'source/blender/functions/tests')
-rw-r--r-- | source/blender/functions/tests/FN_field_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/functions/tests/FN_field_test.cc b/source/blender/functions/tests/FN_field_test.cc index a002e286b45..d904f39d0d7 100644 --- a/source/blender/functions/tests/FN_field_test.cc +++ b/source/blender/functions/tests/FN_field_test.cc @@ -29,7 +29,7 @@ TEST(field, ConstantFunction) class IndexFieldInput final : public FieldInput { /* TODO: I don't think this is a valid way to override the name, but I wish it was. */ StringRef name_ = "Index"; - GVArrayPtr retrieve_data(IndexMask mask) const final + GVArrayPtr get_varray_generic_context(IndexMask mask) const final { auto index_func = [](int i) { return i; }; return std::make_unique< |