write_bam_file() should take a Filename

This commit is contained in:
David Rose 2011-01-18 19:10:16 +00:00
parent e3a3170e5b
commit a8b7f6bc85
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;