diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2020-11-07 15:47:12 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-11-07 16:18:13 +0300 |
commit | 4525049aa0cf818f6483dce589ac9791eb562338 (patch) | |
tree | bdf5258903fb8435bf38a1925c9c32f32c20616c /source/blender/depsgraph/intern/depsgraph_update.cc | |
parent | a452fcb9a5495ecbbbaedb7e5c631814c7f4372a (diff) |
Cleanup: Clang-tidy, modernize-concat-nested-namespaces
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_update.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_update.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_update.cc b/source/blender/depsgraph/intern/depsgraph_update.cc index 98ff136f7bc..bb72320ca67 100644 --- a/source/blender/depsgraph/intern/depsgraph_update.cc +++ b/source/blender/depsgraph/intern/depsgraph_update.cc @@ -29,8 +29,7 @@ namespace deg = blender::deg; -namespace blender { -namespace deg { +namespace blender::deg { static DEG_EditorUpdateIDCb deg_editor_update_id_cb = nullptr; static DEG_EditorUpdateSceneCb deg_editor_update_scene_cb = nullptr; @@ -49,8 +48,7 @@ void deg_editors_scene_update(const DEGEditorUpdateContext *update_ctx, bool upd } } -} // namespace deg -} // namespace blender +} // namespace blender::deg /* Set callbacks which are being called when depsgraph changes. */ void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func, DEG_EditorUpdateSceneCb scene_func) |