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:
authorSybren A. Stüvel <sybren@blender.org>2020-09-04 13:04:47 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-09-04 13:04:47 +0300
commit8057ab10db5945db18ccb45265b91ce120ae0be5 (patch)
tree974381c1d2264099848b2c1c5ed8a469a980a32e /source/blender/freestyle/intern/view_map/Silhouette.cpp
parent371ddda4d0b3c2ef0c40f604715db801dc33b669 (diff)
Cleanup: Clang-Tidy readability-const-return-type fixes
No functional changes.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/Silhouette.cpp')
-rw-r--r--source/blender/freestyle/intern/view_map/Silhouette.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/view_map/Silhouette.cpp b/source/blender/freestyle/intern/view_map/Silhouette.cpp
index 63c4fc8d5da..3280e56ea7e 100644
--- a/source/blender/freestyle/intern/view_map/Silhouette.cpp
+++ b/source/blender/freestyle/intern/view_map/Silhouette.cpp
@@ -83,7 +83,7 @@ const SShape *SVertex::shape() const
return _Shape;
}
-const int SVertex::qi() const
+int SVertex::qi() const
{
if (getNature() & Nature::T_VERTEX) {
Exception::raiseException();
@@ -139,7 +139,7 @@ const SShape *SVertex::occluded_shape() const
return (_FEdges[0])->occluded_shape();
}
-const bool SVertex::occludee_empty() const
+bool SVertex::occludee_empty() const
{
if (getNature() & Nature::T_VERTEX) {
Exception::raiseException();
@@ -275,7 +275,7 @@ int FEdge::occluders_size() const
return _ViewEdge->occluders_size();
}
-const bool FEdge::occludee_empty() const
+bool FEdge::occludee_empty() const
{
return _ViewEdge->occludee_empty();
}