mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-01 15:16:22 +00: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:
parent
1f42629112
commit
4f69672b2b
4 changed files with 6 additions and 34 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue