diff options
| author | 2015-04-12 08:05:15 +0200 | |
|---|---|---|
| committer | 2015-04-12 08:05:43 +0200 | |
| commit | 7faba31b1b8dcd6caa5f1b651d2693106de08d35 (patch) | |
| tree | c528d5479eee247ee5305df53a298a09b594fccc /src/emu/debug/debugcpu.h | |
| parent | 15a464dac99052edc0645374a77ecef8d1a65b0d (diff) | |
There is no implicit conversion to char* in std::string (nw)
Diffstat (limited to 'src/emu/debug/debugcpu.h')
| -rw-r--r-- | src/emu/debug/debugcpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index 1eee2871c59..d08d333ef5f 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -68,7 +68,7 @@ public: bool enabled() const { return m_enabled; } offs_t address() const { return m_address; } const char *condition() const { return m_condition.original_string(); } - const char *action() const { return m_action; } + const char *action() const { return m_action.c_str(); } // setters void setEnabled(bool value) { m_enabled = value; } @@ -113,7 +113,7 @@ public: offs_t address() const { return m_address; } offs_t length() const { return m_length; } const char *condition() const { return m_condition.original_string(); } - const char *action() const { return m_action; } + const char *action() const { return m_action.c_str(); } // setters void setEnabled(bool value) { m_enabled = value; } @@ -148,7 +148,7 @@ public: int index() const { return m_index; } bool enabled() const { return m_enabled; } const char *condition() const { return m_condition.original_string(); } - const char *action() const { return m_action; } + const char *action() const { return m_action.c_str(); } private: // internals |
