mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
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:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user