From 1644b701ba4cbdc227c575b266533bce24de1292 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 27 Aug 2023 21:23:46 +0100 Subject: [PATCH] refactor: remove optional default for format --- VPLink.Common/Data/PlainTextMessageBuilder.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/VPLink.Common/Data/PlainTextMessageBuilder.cs b/VPLink.Common/Data/PlainTextMessageBuilder.cs index a1f5ff0..dd68b97 100644 --- a/VPLink.Common/Data/PlainTextMessageBuilder.cs +++ b/VPLink.Common/Data/PlainTextMessageBuilder.cs @@ -35,8 +35,7 @@ public struct PlainTextMessageBuilder : IDisposable /// The timestamp. /// The format. /// The trailing whitespace trivia. - public void AddTimestamp(DateTimeOffset timestamp, TimestampFormat format = TimestampFormat.None, - char whitespace = ' ') + public void AddTimestamp(DateTimeOffset timestamp, TimestampFormat format, char whitespace = ' ') { switch (format) {