summaryrefslogtreecommitdiff
path: root/src/xtra2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit9c26f78ce556d3a0717e4bc5668a1ed59217f414 (patch)
tree4dabc3014c60d469b694022d40405baa8910d843 /src/xtra2.cc
parent287df870759d0fc854f76d34151a597b9f529b43 (diff)
Change player_{race, spec, class} to non-POD types
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r--src/xtra2.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc
index 222d12cd..5193aa81 100644
--- a/src/xtra2.cc
+++ b/src/xtra2.cc
@@ -5356,11 +5356,6 @@ void switch_subrace(int racem, bool_ copy_old)
/* If we switch to the saved subrace, we copy over the old subrace data */
if (copy_old && (racem == SUBRACE_SAVE))
{
- // This code is very reliant on the race_mod_info
- // elements being simple PODs, in particular the
- // text pointers being *unmanaged* owned pointers.
- static_assert(std::is_pod<player_race_mod>::value,
- "This code needs reworking");
// Keep references to owned pointers.
auto old_title = race_mod_info[SUBRACE_SAVE].title;
auto old_desc = race_mod_info[SUBRACE_SAVE].desc;