2
0
Эх сурвалжийг харах

Merge pull request #1882 from assimp/issue_1881

closes https://github.com/assimp/assimp/issues/1881: make template-ba…
Kim Kulling 7 жил өмнө
parent
commit
c269e9329e

+ 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>