New streaming interface: fix build.
authorKim Kulling <kim.kulling@googlemail.com>
Sat, 22 Oct 2016 21:34:56 +0000 (23:34 +0200)
committerKim Kulling <kim.kulling@googlemail.com>
Sat, 22 Oct 2016 21:34:56 +0000 (23:34 +0200)
code/IOStreamBuffer.h
code/ObjFileParser.cpp

index 5b00ef5..aeb6003 100644 (file)
@@ -69,7 +69,7 @@ private:
 
 template<class T>
 inline
-IOStreamBuffer<T>::IOStreamBuffer( size_t cache = 4096 * 4096 )
+IOStreamBuffer<T>::IOStreamBuffer( size_t cache )
     : m_stream( nullptr )
     , m_filesize( 0 )
     , m_cacheSize( cache )
index a46d7c0..2469219 100644 (file)
@@ -38,8 +38,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ---------------------------------------------------------------------------
 */
-
-
 #ifndef ASSIMP_BUILD_NO_OBJ_IMPORTER
 
 #include "ObjFileParser.h"
@@ -54,14 +52,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <assimp/Importer.hpp>
 #include <cstdlib>
 
-
 namespace Assimp {
 
 const std::string ObjFileParser::DEFAULT_MATERIAL = AI_DEFAULT_MATERIAL_NAME;
 
 // -------------------------------------------------------------------
 //  Constructor with loaded data and directories.
-ObjFileParser::ObjFileParser( IOStreamBuffer<char> &streamBuffer, const std::string &modelName, IOSystem *io, ProgressHandler* progress, const std::string &originalObjFileName) :
+ObjFileParser::ObjFileParser( IOStreamBuffer<char> &streamBuffer, const std::string &modelName, 
+                              IOSystem *io, ProgressHandler* progress,
+                              const std::string &originalObjFileName) :
     m_DataIt(),
     m_DataItEnd(),
     m_pModel(NULL),