diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-06 06:43:20 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-06 06:43:20 +0300 |
commit | e1476ca3101fd9c5f01f4a33020bef708c46d758 (patch) | |
tree | b4fdcffb9302c6093211cf3c0c49aa43f3f6697a /source/blender | |
parent | fcbd81fb0f82080186220b554d12331b675f1e5e (diff) |
Cleanup: quiet missing-declarations warnings
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query.cc b/source/blender/depsgraph/intern/depsgraph_query.cc index 015fa341e68..6ffc711a475 100644 --- a/source/blender/depsgraph/intern/depsgraph_query.cc +++ b/source/blender/depsgraph/intern/depsgraph_query.cc @@ -34,7 +34,7 @@ namespace blender::deg { -const ID *get_original_id(const ID *id) +static const ID *get_original_id(const ID *id) { if (id == nullptr) { return nullptr; @@ -46,13 +46,13 @@ const ID *get_original_id(const ID *id) return (ID *)id->orig_id; } -ID *get_original_id(ID *id) +static ID *get_original_id(ID *id) { const ID *const_id = id; return const_cast<ID *>(get_original_id(const_id)); } -const ID *get_evaluated_id(const Depsgraph *deg_graph, const ID *id) +static const ID *get_evaluated_id(const Depsgraph *deg_graph, const ID *id) { if (id == nullptr) { return nullptr; @@ -67,7 +67,7 @@ const ID *get_evaluated_id(const Depsgraph *deg_graph, const ID *id) return id_node->id_cow; } -ID *get_evaluated_id(const Depsgraph *deg_graph, ID *id) +static ID *get_evaluated_id(const Depsgraph *deg_graph, ID *id) { const ID *const_id = id; return const_cast<ID *>(get_evaluated_id(deg_graph, const_id)); |