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:
-rw-r--r--source/blender/blenlib/BLI_vector.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_vector.hh b/source/blender/blenlib/BLI_vector.hh
index ade0d7cc611..3ffd5309a04 100644
--- a/source/blender/blenlib/BLI_vector.hh
+++ b/source/blender/blenlib/BLI_vector.hh
@@ -444,7 +444,7 @@ class Vector {
this->append_as(std::move(value));
}
/* This is similar to `std::vector::emplace_back`. */
- template<typename... ForwardValue> void append_as(ForwardValue &&... value)
+ template<typename... ForwardValue> void append_as(ForwardValue &&...value)
{
this->ensure_space_for_one();
this->append_unchecked_as(std::forward<ForwardValue>(value)...);
@@ -486,7 +486,7 @@ class Vector {
{
this->append_unchecked_as(std::move(value));
}
- template<typename... ForwardT> void append_unchecked_as(ForwardT &&... value)
+ template<typename... ForwardT> void append_unchecked_as(ForwardT &&...value)
{
BLI_assert(end_ < capacity_end_);
new (end_) T(std::forward<ForwardT>(value)...);
@@ -675,12 +675,12 @@ class Vector {
const T &first() const
{
BLI_assert(this->size() > 0);
- return *(begin_);
+ return *begin_;
}
T &first()
{
BLI_assert(this->size() > 0);
- return *(begin_);
+ return *begin_;
}
/**