aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/source/dyaml/serializer.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/source/dyaml/serializer.d')
-rw-r--r--src/ext_depends/D-YAML/source/dyaml/serializer.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext_depends/D-YAML/source/dyaml/serializer.d b/src/ext_depends/D-YAML/source/dyaml/serializer.d
index 4100cf3..cbaef63 100644
--- a/src/ext_depends/D-YAML/source/dyaml/serializer.d
+++ b/src/ext_depends/D-YAML/source/dyaml/serializer.d
@@ -236,7 +236,7 @@ struct Serializer
const bool isDetected = node.tag_ == detectedTag;
emitter.emit(scalarEvent(Mark(), Mark(), aliased, node.tag_,
- isDetected, value, node.scalarStyle));
+ isDetected, value.idup, node.scalarStyle));
return;
case NodeID.invalid:
assert(0);