Skip to content

Commit f69596b

Browse files
committed
remove disabled opCmp/opEquals
1 parent 452f09e commit f69596b

File tree

6 files changed

+0
-22
lines changed

6 files changed

+0
-22
lines changed

source/dyaml/dumper.d

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ struct Dumper
7373
// Default style for collection nodes. If style is $(D CollectionStyle.invalid), the _style is chosen automatically.
7474
CollectionStyle defaultCollectionStyle = CollectionStyle.invalid;
7575

76-
@disable bool opEquals(ref Dumper);
77-
@disable int opCmp(ref Dumper);
78-
7976
///Set indentation width. 2 by default. Must not be zero.
8077
@property void indent(uint indent) pure @safe nothrow
8178
in

source/dyaml/emitter.d

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ struct Emitter(Range, CharType) if (isOutputRange!(Range, CharType))
153153
ScalarStyle style_ = ScalarStyle.invalid;
154154

155155
public:
156-
@disable int opCmp(ref Emitter);
157-
@disable bool opEquals(ref Emitter);
158-
159156
/**
160157
* Construct an emitter.
161158
*
@@ -1283,9 +1280,6 @@ struct ScalarWriter(Range, CharType)
12831280
}
12841281

12851282
private:
1286-
@disable int opCmp(ref Emitter!(Range, CharType));
1287-
@disable bool opEquals(ref Emitter!(Range, CharType));
1288-
12891283
///Used as "null" UTF-32 character.
12901284
static immutable dcharNone = dchar.max;
12911285

source/dyaml/loader.d

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ struct Loader
4343
bool rangeInitialized;
4444

4545
public:
46-
@disable int opCmp(ref Loader);
47-
@disable bool opEquals(ref Loader);
48-
4946
/** Construct a Loader to load YAML from a file.
5047
*
5148
* Params: filename = Name of the file to load from.

source/dyaml/queue.d

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ private:
8888
}
8989

9090
public:
91-
92-
@disable void opAssign(ref Queue);
93-
@disable bool opEquals(ref Queue);
94-
@disable int opCmp(ref Queue);
95-
9691
this(this) @safe nothrow @nogc
9792
{
9893
auto node = first_;

source/dyaml/resolver.d

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ struct Resolver
100100
}
101101

102102
public:
103-
@disable bool opEquals(ref Resolver);
104-
@disable int opCmp(ref Resolver);
105-
106103
/**
107104
* Add an implicit scalar resolver.
108105
*

source/dyaml/token.d

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ enum DirectiveType : ubyte
6262
/// 32 bytes on 64-bit.
6363
struct Token
6464
{
65-
@disable int opCmp(ref Token);
66-
6765
// 16B
6866
/// Value of the token, if any.
6967
///

0 commit comments

Comments
 (0)