summaryrefslogtreecommitdiff
path: root/src/map/magic-v2.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-08-12 10:45:18 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-25 17:58:12 -0700
commit749fec734c4583153fb2dbc80f1d21db2c2ab457 (patch)
tree7628de9c7426008d06e78ad05b05949b4bb55c5b /src/map/magic-v2.cpp
parent31e906c1fbaf3bc9128138302d8db549e87769a7 (diff)
downloadtmwa-749fec734c4583153fb2dbc80f1d21db2c2ab457.tar.gz
tmwa-749fec734c4583153fb2dbc80f1d21db2c2ab457.tar.bz2
tmwa-749fec734c4583153fb2dbc80f1d21db2c2ab457.tar.xz
tmwa-749fec734c4583153fb2dbc80f1d21db2c2ab457.zip
Kill those dumb strings
Diffstat (limited to 'src/map/magic-v2.cpp')
-rw-r--r--src/map/magic-v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic-v2.cpp b/src/map/magic-v2.cpp
index 73b7534..5b375b2 100644
--- a/src/map/magic-v2.cpp
+++ b/src/map/magic-v2.cpp
@@ -415,7 +415,7 @@ namespace magic_v2
case sexpr::STRING:
{
val_t val;
- val = ValString{dumb_string::copys(x._str)};
+ val = ValString{x._str};
out = dumb_ptr<expr_t>::make(std::move(val));
return true;