Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
remove inner constructor deprecation warning on 0.6 (#161)
Browse files Browse the repository at this point in the history
* remove inner constructor deprecation warning on 0.6

* Update .travis.yml

* drop 0.4

* drop 0.4
  • Loading branch information
aviks authored Jul 14, 2017
1 parent c2c07cd commit 60c51ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ os:
- linux
- osx
julia:
- 0.4
- 0.5
- 0.6
- nightly
Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
julia 0.4
julia 0.5
HttpCommon 0.2.4
HttpParser
URIParser 0.1.1
Expand Down
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
environment:
matrix:
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"

Expand Down
3 changes: 2 additions & 1 deletion src/streaming.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ type ResponseStream{T<:IO} <: IO
current_header::Nullable{Compat.UTF8String}
state_change::Condition
cookie_buffer::IOBuffer
ResponseStream() = new()
#Replace with `ResponseStream{T}() where T` when dropping support for 0.5
(::Type{ResponseStream{T}}){T}() = new{T}()
end

function ResponseStream{T}(response, socket::T)
Expand Down

0 comments on commit 60c51ea

Please sign in to comment.