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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user