Prechádzať zdrojové kódy

Merge pull request #8409 from Bond-009/warn61

Use record for AudioBookFilePathParserResult
Claus Vium 2 rokov pred
rodič
commit
e54f6b0660

+ 1 - 1
Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs

@@ -3,7 +3,7 @@ namespace Emby.Naming.AudioBook
     /// <summary>
     /// Data object for passing result of audiobook part/chapter extraction.
     /// </summary>
-    public struct AudioBookFilePathParserResult
+    public record struct AudioBookFilePathParserResult
     {
         /// <summary>
         /// Gets or sets optional number of path extracted from audiobook filename.