IOS-1323 index night not be interesting
authorbuff <andreas@pep-project.org>
Mon, 10 Sep 2018 15:11:32 +0200
changeset 630216f88dce4b8f
parent 6301 d07245a10abe
child 6303 7324ec2c2b8c
IOS-1323 index night not be interesting
pEpForiOS/Util/SortedSet.swift
     1.1 --- a/pEpForiOS/Util/SortedSet.swift	Mon Sep 10 15:10:39 2018 +0200
     1.2 +++ b/pEpForiOS/Util/SortedSet.swift	Mon Sep 10 15:11:32 2018 +0200
     1.3 @@ -30,7 +30,7 @@
     1.4      ///
     1.5      /// - Parameter object: object to insert
     1.6      /// - Returns: index the object has been inserted to
     1.7 -    public func insert(object: T) -> Int {
     1.8 +    @discardableResult public func insert(object: T) -> Int {
     1.9          objc_sync_enter(self)
    1.10          defer { objc_sync_exit(self) }
    1.11