Skip to content

Commit

Permalink
Updated for Swift 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Apr 6, 2017
1 parent 48b1dbd commit e7e5066
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/BluetoothLinux/GATTServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class GATTServer {

// MARK: - Private Properties

internal let connection: ATTConnection
private let connection: ATTConnection

private var preparedWrites = [PreparedWrite]()

Expand All @@ -44,14 +44,12 @@ public final class GATTServer {
// MARK: - Methods

/// Performs the actual IO for sending data.
@inline(__always)
public func read() throws {

try connection.read()
}

/// Performs the actual IO for recieving data.
@inline(__always)
public func write() throws -> Bool {

return try connection.write()
Expand Down

0 comments on commit e7e5066

Please sign in to comment.