From 7f2d356a672d838c90cf47e9ff4006b15c104148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 4 Dec 2020 12:46:43 +0100 Subject: Cleanup: Clang-Tidy, modernize-use-using Replace `typedef` with `using` in C++ code. In the case of `typedef struct SomeName { ... } SomeName;` I removed the `typedef` altogether, as this is unnecessary in C++. Such cases have been rewritten to `struct SomeName { ... };` No functional changes. --- source/blender/depsgraph/intern/depsgraph_query_foreach.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/depsgraph') diff --git a/source/blender/depsgraph/intern/depsgraph_query_foreach.cc b/source/blender/depsgraph/intern/depsgraph_query_foreach.cc index ed7011ba306..1c050edc386 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_foreach.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_foreach.cc @@ -49,7 +49,7 @@ namespace { typedef deque TraversalQueue; -typedef void (*DEGForeachOperation)(OperationNode *op_node, void *user_data); +using DEGForeachOperation = void (*)(OperationNode *, void *); bool deg_foreach_needs_visit(const OperationNode *op_node, const int flags) { -- cgit v1.2.3