浏览代码

replaced "typedef" with "using" (I didn't notice Kim Kulling's previous commit until now)

Matias Lavik 6 年之前
父节点
当前提交
6d1514dd10
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/FBXConverter.h

+ 2 - 2
code/FBXConverter.h

@@ -443,10 +443,10 @@ private:
     NodeAnimBitMap node_anim_chain_bits;
 
     // number of nodes with the same name
-    typedef std::unordered_map<std::string, unsigned int> NodeAnimNameMap;
+    using NodeAnimNameMap = std::unordered_map<std::string, unsigned int>;
     NodeAnimNameMap mNodeNameInstances;
 
-    typedef std::unordered_set<std::string> NodeNameCache;
+    using NodeNameCache = std::unordered_set<std::string>;
     NodeNameCache mNodeNames;
 
     double anim_fps;