[Bf-blender-cvs] [de2988ea1bb] master: Cleanup: Remove effect-less const
Julian Eisel
noreply at git.blender.org
Wed Nov 3 17:29:45 CET 2021
Commit: de2988ea1bb8692ec35e9e61d55e150ebf543d53
Author: Julian Eisel
Date: Wed Nov 3 17:28:52 2021 +0100
Branches: master
https://developer.blender.org/rBde2988ea1bb8692ec35e9e61d55e150ebf543d53
Cleanup: Remove effect-less const
Using `const` on an enum type returned by value doesn't have an effect.
===================================================================
M source/blender/blenlib/BLI_serialize.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_serialize.hh b/source/blender/blenlib/BLI_serialize.hh
index 088243b3a30..051731ab801 100644
--- a/source/blender/blenlib/BLI_serialize.hh
+++ b/source/blender/blenlib/BLI_serialize.hh
@@ -138,7 +138,7 @@ class Value {
public:
virtual ~Value() = default;
- const eValueType type() const
+ eValueType type() const
{
return type_;
}
More information about the Bf-blender-cvs
mailing list