aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/source/dyaml/emitter.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/source/dyaml/emitter.d')
-rw-r--r--src/ext_depends/D-YAML/source/dyaml/emitter.d8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ext_depends/D-YAML/source/dyaml/emitter.d b/src/ext_depends/D-YAML/source/dyaml/emitter.d
index 5aafc0e..b61fea1 100644
--- a/src/ext_depends/D-YAML/source/dyaml/emitter.d
+++ b/src/ext_depends/D-YAML/source/dyaml/emitter.d
@@ -153,9 +153,6 @@ struct Emitter(Range, CharType) if (isOutputRange!(Range, CharType))
ScalarStyle style_ = ScalarStyle.invalid;
public:
- @disable int opCmp(ref Emitter);
- @disable bool opEquals(ref Emitter);
-
/**
* Construct an emitter.
*
@@ -775,7 +772,7 @@ struct Emitter(Range, CharType) if (isOutputRange!(Range, CharType))
{
if(style_ == ScalarStyle.invalid){style_ = chooseScalarStyle();}
if((!canonical_ || (tag is null)) &&
- ((tag == "tag:yaml.org,2002:str") || (style_ == ScalarStyle.plain ? event_.implicit : !event_.implicit && (tag is null))))
+ (((tag == "tag:yaml.org,2002:str") && event_.implicit) || (style_ == ScalarStyle.plain ? event_.implicit : !event_.implicit && (tag is null))))
{
preparedTag_ = null;
return;
@@ -1283,9 +1280,6 @@ struct ScalarWriter(Range, CharType)
}
private:
- @disable int opCmp(ref Emitter!(Range, CharType));
- @disable bool opEquals(ref Emitter!(Range, CharType));
-
///Used as "null" UTF-32 character.
static immutable dcharNone = dchar.max;