Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-02-13 22:15:53 +0300
committerHans Goudey <h.goudey@me.com>2022-02-13 22:15:53 +0300
commit7d5f6c330f1065f28d8e83eea41b151245b39bed (patch)
treee39c6c0a01463de2c0f9035869ab540701d675b4 /source/blender/io/usd/intern
parent7413c2feede68c45f13fa37ebdcbf325d8f32c10 (diff)
Cleanup: Clang tidy
Use using instead of typedef, remove redundant string init, use "empty", address qualified auto, use nullptr.
Diffstat (limited to 'source/blender/io/usd/intern')
-rw-r--r--source/blender/io/usd/intern/usd_writer_material.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/usd_writer_material.cc b/source/blender/io/usd/intern/usd_writer_material.cc
index 6cdf6cc3b19..09cb0d07493 100644
--- a/source/blender/io/usd/intern/usd_writer_material.cc
+++ b/source/blender/io/usd/intern/usd_writer_material.cc
@@ -82,7 +82,7 @@ struct InputSpec {
};
/* Map Blender socket names to USD Preview Surface InputSpec structs. */
-typedef std::map<std::string, InputSpec> InputSpecMap;
+using InputSpecMap = std::map<std::string, InputSpec>;
/* Static function forward declarations. */
static pxr::UsdShadeShader create_usd_preview_shader(const USDExporterContext &usd_export_context,