Browse Source

gobj: Remove TextureStage::write() overload, use default arg instead

This was only an overload in 1.10 so that it wouldn't break the ABI
rdb 3 years ago
parent
commit
dba65d8bd4
2 changed files with 1 additions and 10 deletions
  1. 0 8
      panda/src/gobj/textureStage.cxx
  2. 1 2
      panda/src/gobj/textureStage.h

+ 0 - 8
panda/src/gobj/textureStage.cxx

@@ -217,14 +217,6 @@ compare_to(const TextureStage &other) const {
   return 0;
   return 0;
 }
 }
 
 
-/**
- * Writes the details of this stage
- */
-void TextureStage::
-write(ostream &out) const {
-  write(out, 0);
-}
-
 /**
 /**
  * Writes the details of this stage
  * Writes the details of this stage
  */
  */

+ 1 - 2
panda/src/gobj/textureStage.h

@@ -181,8 +181,7 @@ PUBLISHED:
 
 
   int compare_to(const TextureStage &other) const;
   int compare_to(const TextureStage &other) const;
 
 
-  void write(std::ostream &out) const;
-  void write(std::ostream &out, int indent_level) const;
+  void write(std::ostream &out, int indent_level = 0) const;
   void output(std::ostream &out) const;
   void output(std::ostream &out) const;
 
 
   INLINE static TextureStage *get_default();
   INLINE static TextureStage *get_default();