Remove the need for the less than standard strnlen()/strndup().

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7326 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-03-11 00:37:37 +00:00
parent 1f42629112
commit 4f69672b2b
4 changed files with 6 additions and 34 deletions

View File

@ -40,7 +40,7 @@ public:
class FileLogListener : public LogListener {
public:
FileLogListener(const char *filename);
FileLogListener(std::string filename);
~FileLogListener();
void Log(LogTypes::LOG_LEVELS, const char *msg);
@ -60,7 +60,7 @@ public:
const char *getName() const { return "file"; }
private:
char *m_filename;
std::string m_filename;
FILE *m_logfile;
bool m_enable;
};