Skip to content

Commit

Permalink
use :erlang.bor/2 instead of Bitwise.bor/2
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Jul 2, 2021
1 parent a321154 commit 3935946
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.1.3 - 2021-07-02

### Fixed

- Switch from using `Bitwise.bor/2` to `:erlang.bor/2` for compatibility
with Elixir < 1.10

## 0.1.2 - 2021-07-02

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lib/mint/web_socket/per_message_deflate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ defmodule Mint.WebSocket.PerMessageDeflate do

frame =
Frame.unquote(opcode)(frame,
reserved: <<Bitwise.bor(reserved, 0b100)::size(3)>>,
reserved: <<:erlang.bor(reserved, 0b100)::size(3)>>,
data: data
)

Expand Down

0 comments on commit 3935946

Please sign in to comment.