summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/uml.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-12 08:05:15 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-12 08:05:43 +0200
commit7faba31b1b8dcd6caa5f1b651d2693106de08d35 (patch)
treec528d5479eee247ee5305df53a298a09b594fccc /src/emu/cpu/uml.h
parent15a464dac99052edc0645374a77ecef8d1a65b0d (diff)
There is no implicit conversion to char* in std::string (nw)
Diffstat (limited to 'src/emu/cpu/uml.h')
-rw-r--r--src/emu/cpu/uml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/uml.h b/src/emu/cpu/uml.h
index 53eacfa49d9..96f73366fa5 100644
--- a/src/emu/cpu/uml.h
+++ b/src/emu/cpu/uml.h
@@ -239,7 +239,7 @@ namespace uml
code_handle *next() const { return m_next; }
drccodeptr codeptr() const { return *m_code; }
drccodeptr *codeptr_addr() { return m_code; }
- const char *string() const { return m_string; }
+ const char *string() const { return m_string.c_str(); }
// setters
void set_codeptr(drccodeptr code);