[Bf-blender-cvs] [767916eefc6] master: Cleanup: more Clang-Tidy readability-const-return-type fixes

Sybren A. Stüvel noreply at git.blender.org
Fri Sep 4 14:53:58 CEST 2020


Commit: 767916eefc620fc4f864bfd63633e35af00d9366
Author: Sybren A. Stüvel
Date:   Fri Sep 4 14:53:53 2020 +0200
Branches: master
https://developer.blender.org/rB767916eefc620fc4f864bfd63633e35af00d9366

Cleanup: more Clang-Tidy readability-const-return-type fixes

Building with `WITH_GMP=ON` revealed more const-return-type issues.

No functional changes.

===================================================================

M	source/blender/blenlib/intern/mesh_boolean.cc

===================================================================

diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index 387d879c5af..9b25c5ea7c8 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -401,12 +401,12 @@ class Cell {
     patches_.append_non_duplicates(p);
   }
 
-  const Span<int> patches() const
+  Span<int> patches() const
   {
     return Span<int>(patches_);
   }
 
-  const Span<int> winding() const
+  Span<int> winding() const
   {
     return Span<int>(winding_);
   }



More information about the Bf-blender-cvs mailing list