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/debugvw.h | |
| parent | 15a464dac99052edc0645374a77ecef8d1a65b0d (diff) | |
There is no implicit conversion to char* in std::string (nw)
Diffstat (limited to 'src/emu/debug/debugvw.h')
| -rw-r--r-- | src/emu/debug/debugvw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugvw.h b/src/emu/debug/debugvw.h index 2b7148cf813..29fe543e9f4 100644 --- a/src/emu/debug/debugvw.h +++ b/src/emu/debug/debugvw.h @@ -121,7 +121,7 @@ public: virtual ~debug_view_source(); // getters - const char *name() const { return m_name; } + const char *name() const { return m_name.c_str(); } debug_view_source *next() const { return m_next; } device_t *device() const { return m_device; } bool is_octal() const { return m_is_octal; } @@ -266,7 +266,7 @@ public: bool dirty() const { return m_dirty; } UINT64 last_value() const { return m_result; } UINT64 value() { recompute(); return m_result; } - const char *string() const { return m_string; } + const char *string() const { return m_string.c_str(); } symbol_table *context() const { return m_parsed.symbols(); } // setters |
