Kitura / Kitura-WebSocket

WebSocket support for Kitura
Apache License 2.0
68 stars 30 forks source link

Fix: Resolve deprecation warnings for swift 4.1 #33

Closed ShihabMehboob closed 6 years ago

ShihabMehboob commented 6 years ago

Replaces 'copyBytes(from:count:)' with 'copyMemory(from:byteCount:)' to silence swift 4.1 deprecation warnings.

helenmasters commented 6 years ago

@ShihabMehboob please can you look into the Travis build failures.

codecov-io commented 6 years ago

Codecov Report

Merging #33 into master will increase coverage by 0.21%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
+ Coverage    91.3%   91.51%   +0.21%     
==========================================
  Files           9        9              
  Lines         483      495      +12     
==========================================
+ Hits          441      453      +12     
  Misses         42       42
Flag Coverage Δ
#KituraWebSocket 91.51% <100%> (+0.21%) :arrow_up:
Impacted Files Coverage Δ
Sources/KituraWebSocket/WSFrame.swift 100% <100%> (ø) :arrow_up:
Sources/KituraWebSocket/WSFrameParser.swift 98.31% <100%> (+0.05%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 05b6ae1...78b0733. Read the comment docs.