diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-31 05:00:10 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-31 05:01:41 +0300 |
commit | 3d132ead502f792fc67117bad5d101c137f33fef (patch) | |
tree | c370628fc2a445faab64cc839d08f8ccf25a0a3a /source/blender/blenlib | |
parent | 41ee5382f655fe2e76c0527e43b239e15478b310 (diff) |
Cleanup: spelling, trailing space for comment-blocks
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_cpp_type.hh | 6 | ||||
-rw-r--r-- | source/blender/blenlib/intern/DLRB_tree.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/length_parameterize.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_cpp_type.hh b/source/blender/blenlib/BLI_cpp_type.hh index 8e8175c2265..9453eb89a2e 100644 --- a/source/blender/blenlib/BLI_cpp_type.hh +++ b/source/blender/blenlib/BLI_cpp_type.hh @@ -679,9 +679,9 @@ class CPPType : NonCopyable, NonMovable { * compile-time. This allows the compiler to optimize a function for specific types, while all * other types can still use a generic fallback function. * - * \param Types The types that code should be generated for. - * \param fn The function object to call. This is expected to have a templated `operator()` and a - * non-templated `operator()`. The templated version will be called if the current #CPPType + * \param Types: The types that code should be generated for. + * \param fn: The function object to call. This is expected to have a templated `operator()` and + * a non-templated `operator()`. The templated version will be called if the current #CPPType * matches any of the given types. Otherwise, the non-templated function is called. */ template<typename... Types, typename Fn> void to_static_type(const Fn &fn) const diff --git a/source/blender/blenlib/intern/DLRB_tree.c b/source/blender/blenlib/intern/DLRB_tree.c index 0965d8ba05e..c672bb1f2ce 100644 --- a/source/blender/blenlib/intern/DLRB_tree.c +++ b/source/blender/blenlib/intern/DLRB_tree.c @@ -578,7 +578,7 @@ DLRBT_Node *BLI_dlrbTree_add(DLRBT_Tree *tree, } default: /* update the duplicate node as appropriate */ { - /* Return the updated node after calling the callback. */ + /* Return the updated node after calling the callback. */ node = parNode; if (update_cb) { update_cb(node, data); diff --git a/source/blender/blenlib/intern/length_parameterize.cc b/source/blender/blenlib/intern/length_parameterize.cc index 4947740ba8c..d6862b96944 100644 --- a/source/blender/blenlib/intern/length_parameterize.cc +++ b/source/blender/blenlib/intern/length_parameterize.cc @@ -58,7 +58,7 @@ void create_uniform_samples(const Span<float> lengths, } /* Add the samples on the last cyclic segment if necessary, and also the samples - * that weren't created in the previous loop due to floating point inacuracy. */ + * that weren't created in the previous loop due to floating point inaccuracy. */ if (cyclic && lengths.size() > 1) { indices.drop_front(i_dst).fill(points_num - 1); const float segment_length = lengths.last() - lengths.last(1); |