summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-01-26 23:14:41 +1100
committer Vas Crabb <vas@vastheman.com>2018-01-26 23:14:41 +1100
commit398c29c5cf1ec36a2c33bae21ded407d14407756 (patch)
treed67901922a8c7e861393658e12059f342e067cd2 /src/frontend
parent1d43f59955080307fd29c264aa0006c5904a4978 (diff)
Work around glibstdc++ allocator not dealing with T & being the same thing as T const & because T is already const-qualified. Note that this makes the code less safe because modifying elements of the list can cause the addresses of the data to change. (nw)
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/pluginopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/pluginopts.h b/src/frontend/mame/pluginopts.h
index f306c925ce2..27e57104293 100644
--- a/src/frontend/mame/pluginopts.h
+++ b/src/frontend/mame/pluginopts.h
@@ -27,7 +27,7 @@ public:
private:
static const options_entry s_option_entries[];
- std::list<std::string const> m_descriptions;
+ std::list<std::string> m_descriptions;
};
#endif // MAME_FRONTEND_PLUGINOPTS_H