Browse Source

pandatool/maya: Fix compilation error by missing std namespace

Younguk Kim 7 years ago
parent
commit
a6b6f40015
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pandatool/src/maya/maya_funcs.T

+ 2 - 2
pandatool/src/maya/maya_funcs.T

@@ -17,7 +17,7 @@
  */
 template<class ValueType>
 bool
-get_maya_attribute(MObject &node, const string &attribute_name,
+get_maya_attribute(MObject &node, const std::string &attribute_name,
                    ValueType &value) {
   bool status = false;
 
@@ -35,7 +35,7 @@ get_maya_attribute(MObject &node, const string &attribute_name,
  */
 template<class ValueType>
 bool
-set_maya_attribute(MObject &node, const string &attribute_name,
+set_maya_attribute(MObject &node, const std::string &attribute_name,
                    ValueType &value) {
   bool status = false;