From 7a24f18eb753180800f9b44a767b0d59e4e702b7 Mon Sep 17 00:00:00 2001 From: Eric Kuck Date: Fri, 14 Dec 2018 17:12:59 -0600 Subject: Most similar views now shared between ViewControllers Signed-off-by: Eric Kuck --- WireGuard/Shared/Model/Endpoint.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/Shared/Model') diff --git a/WireGuard/Shared/Model/Endpoint.swift b/WireGuard/Shared/Model/Endpoint.swift index bbf84d4..41ea41f 100644 --- a/WireGuard/Shared/Model/Endpoint.swift +++ b/WireGuard/Shared/Model/Endpoint.swift @@ -61,7 +61,7 @@ extension Endpoint { extension Endpoint: Codable { public func encode(to encoder: Encoder) throws { var container = encoder.singleValueContainer() - try container.encode(self.stringRepresentation()) + try container.encode(stringRepresentation()) } public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() -- cgit v1.2.3-59-g8ed1b