closes https://github.com/assimp/assimp/issues/1881: make template-based get and put in streamreader/writer public.
parent
5fbffd394e
commit
3bd80a2537
|
@ -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) {
|
||||
|
|
|
@ -255,8 +255,6 @@ public:
|
|||
cursor = new_cursor;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
/** Generic write method. ByteSwap::Swap(T*) *must* be defined */
|
||||
template <typename T>
|
||||
|
|
Loading…
Reference in New Issue