diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:04:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:04:47 +0300 |
commit | 8057ab10db5945db18ccb45265b91ce120ae0be5 (patch) | |
tree | 974381c1d2264099848b2c1c5ed8a469a980a32e /source/blender/io/collada/BCAnimationSampler.h | |
parent | 371ddda4d0b3c2ef0c40f604715db801dc33b669 (diff) |
Cleanup: Clang-Tidy readability-const-return-type fixes
No functional changes.
Diffstat (limited to 'source/blender/io/collada/BCAnimationSampler.h')
-rw-r--r-- | source/blender/io/collada/BCAnimationSampler.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/io/collada/BCAnimationSampler.h b/source/blender/io/collada/BCAnimationSampler.h index 5ab4be3722c..9c6eaf0a140 100644 --- a/source/blender/io/collada/BCAnimationSampler.h +++ b/source/blender/io/collada/BCAnimationSampler.h @@ -92,8 +92,8 @@ class BCSampleFrame { const BCMatrix *get_sample_matrix(Object *ob) const; const BCMatrix *get_sample_matrix(Object *ob, Bone *bone) const; - const bool has_sample_for(Object *ob) const; - const bool has_sample_for(Object *ob, Bone *bone) const; + bool has_sample_for(Object *ob) const; + bool has_sample_for(Object *ob, Bone *bone) const; }; typedef std::map<int, BCSampleFrame> BCSampleFrameMap; @@ -135,13 +135,13 @@ class BCSampleFrameContainer { BCSample &add(Object *ob, int frame_index); BCSampleFrame *get_frame(int frame_index); // returns NULL if frame does not exist - const int get_frames(std::vector<int> &frames) const; - const int get_frames(Object *ob, BCFrames &frames) const; - const int get_frames(Object *ob, Bone *bone, BCFrames &frames) const; + int get_frames(std::vector<int> &frames) const; + int get_frames(Object *ob, BCFrames &frames) const; + int get_frames(Object *ob, Bone *bone, BCFrames &frames) const; - const int get_samples(Object *ob, BCFrameSampleMap &samples) const; - const int get_matrices(Object *ob, BCMatrixSampleMap &matrices) const; - const int get_matrices(Object *ob, Bone *bone, BCMatrixSampleMap &bones) const; + int get_samples(Object *ob, BCFrameSampleMap &samples) const; + int get_matrices(Object *ob, BCMatrixSampleMap &matrices) const; + int get_matrices(Object *ob, Bone *bone, BCMatrixSampleMap &bones) const; }; class BCAnimationSampler { |