Procházet zdrojové kódy

write_bam_file() should take a Filename

David Rose před 15 roky
rodič
revize
a8b7f6bc85
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      panda/src/pgraph/nodePath.cxx
  2. 1 1
      panda/src/pgraph/nodePath.h

+ 1 - 1
panda/src/pgraph/nodePath.cxx

@@ -6831,7 +6831,7 @@ find_net_python_tag(const string &key) const {
 //               error.
 //               error.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 bool NodePath::
 bool NodePath::
-write_bam_file(const string &filename) const {
+write_bam_file(const Filename &filename) const {
   nassertr_always(!is_empty(), false);
   nassertr_always(!is_empty(), false);
 
 
   BamFile bam_file;
   BamFile bam_file;

+ 1 - 1
panda/src/pgraph/nodePath.h

@@ -904,7 +904,7 @@ PUBLISHED:
   INLINE void set_name(const string &name);
   INLINE void set_name(const string &name);
   INLINE string get_name() const;
   INLINE string get_name() const;
 
 
-  BLOCKING bool write_bam_file(const string &filename) const;
+  BLOCKING bool write_bam_file(const Filename &filename) const;
   BLOCKING bool write_bam_stream(ostream &out) const;
   BLOCKING bool write_bam_stream(ostream &out) const;
 
 
   INLINE string encode_to_bam_stream() const;
   INLINE string encode_to_bam_stream() const;