Browse Source

closes https://github.com/assimp/assimp/issues/1881: make template-based get and put in streamreader/writer public.

Kim Kulling 7 years ago
parent
commit
3bd80a2537
2 changed files with 1 additions and 3 deletions
  1. 1 1
      include/assimp/StreamReader.h
  2. 0 2
      include/assimp/StreamWriter.h

+ 1 - 1
include/assimp/StreamReader.h

@@ -283,7 +283,6 @@ public:
         return *this;
     }
 
-private:
     // ---------------------------------------------------------------------
     /** Generic read method. ByteSwap::Swap(T*) *must* be defined */
     template <typename T>
@@ -300,6 +299,7 @@ private:
         return f;
     }
 
+private:
     // ---------------------------------------------------------------------
     void InternBegin() {
         if (!stream) {

+ 0 - 2
include/assimp/StreamWriter.h

@@ -255,8 +255,6 @@ public:
         cursor = new_cursor;
     }
 
-private:
-
     // ---------------------------------------------------------------------
     /** Generic write method. ByteSwap::Swap(T*) *must* be defined */
     template <typename T>