Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-04-07 18:14:47 +0300
committerSergey Sharybin <sergey@blender.org>2022-04-07 18:14:47 +0300
commit1a09024eacbdfa52b3ec669f2bdea313a06b82db (patch)
tree1542a3061b0776dd187731631d6aacc0eb30a0ee /source/blender/blenlib/intern/generic_virtual_array.cc
parent9db15f502c105f96f0ec939dd2fc79f4567a4bf7 (diff)
Cleanup: Compilation warning about virtual functions
Method which overrides a base class's virtual methods are expetced to be marked with `override`. This also gives better idea to the developers about what is going on.
Diffstat (limited to 'source/blender/blenlib/intern/generic_virtual_array.cc')
-rw-r--r--source/blender/blenlib/intern/generic_virtual_array.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/generic_virtual_array.cc b/source/blender/blenlib/intern/generic_virtual_array.cc
index 6cdbbde671a..e1a150c3f08 100644
--- a/source/blender/blenlib/intern/generic_virtual_array.cc
+++ b/source/blender/blenlib/intern/generic_virtual_array.cc
@@ -279,12 +279,12 @@ class GVArrayImpl_For_SingleValueRef : public GVArrayImpl {
type_->fill_construct_indices(value_, dst, mask);
}
- void materialize_compressed(const IndexMask mask, void *dst) const
+ void materialize_compressed(const IndexMask mask, void *dst) const override
{
type_->fill_assign_n(value_, dst, mask.size());
}
- void materialize_compressed_to_uninitialized(const IndexMask mask, void *dst) const
+ void materialize_compressed_to_uninitialized(const IndexMask mask, void *dst) const override
{
type_->fill_construct_n(value_, dst, mask.size());
}