mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
make exception save actual tag (nw)
This commit is contained in:
parent
2b530503db
commit
4bbce9eb49
@ -35,9 +35,9 @@ class add_exception
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
add_exception(const char *tag) : m_tag(tag) { }
|
add_exception(const char *tag) : m_tag(tag) { }
|
||||||
const char *tag() const { return m_tag; }
|
const char *tag() const { return m_tag.c_str(); }
|
||||||
private:
|
private:
|
||||||
const char *m_tag;
|
std::string m_tag;
|
||||||
};
|
};
|
||||||
|
|
||||||
// a tagged_list is a class that maintains a list of objects that can be quickly looked up by tag
|
// a tagged_list is a class that maintains a list of objects that can be quickly looked up by tag
|
||||||
|
Loading…
Reference in New Issue
Block a user