Removed direct STL dependency from the Assimp interface, should hopefully avoid problems with binary incompatible STLs. Some API changes, e.g. in the logger.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@321 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-01-23 21:06:43 +00:00
parent b5ab82922d
commit 03fcec7fe3
26 changed files with 542 additions and 289 deletions

View File

@@ -22,7 +22,7 @@ public:
~StdOStreamLogStream();
/** @brief Writer */
void write(const std::string &messgae);
void write(const char* message);
private:
std::ostream& ostream;
};
@@ -40,9 +40,9 @@ inline StdOStreamLogStream::~StdOStreamLogStream()
// ---------------------------------------------------------------------------
// Write method
inline void StdOStreamLogStream::write(const std::string &message)
inline void StdOStreamLogStream::write(const char* message)
{
ostream << message.c_str();
ostream << message;
ostream.flush();
}