diff options
author | Hans Goudey <h.goudey@me.com> | 2022-02-13 22:15:53 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-02-13 22:15:53 +0300 |
commit | 7d5f6c330f1065f28d8e83eea41b151245b39bed (patch) | |
tree | e39c6c0a01463de2c0f9035869ab540701d675b4 /source/blender/io/usd | |
parent | 7413c2feede68c45f13fa37ebdcbf325d8f32c10 (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')
-rw-r--r-- | source/blender/io/usd/intern/usd_writer_material.cc | 2 |
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, |