Skip to content

Commit b095eee

Browse files
committed
Use bitshifting to simplify enum flag values
+semver: skip
1 parent 670003c commit b095eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BencodeNET/Torrents/MagnetLinkOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public enum MagnetLinkOptions
1616
/// <summary>
1717
/// Includes trackers in the magnet link.
1818
/// </summary>
19-
IncludeTrackers = 1
19+
IncludeTrackers = 1 << 0,
2020
}
2121
}

0 commit comments

Comments
 (0)