Skip to content

Commit

Permalink
Fix 0.6 abstract type declaration depwarn
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Feb 11, 2017
1 parent 14aaef7 commit 3db3e78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.4
Compat 0.9.4
Compat 0.17.0
6 changes: 3 additions & 3 deletions src/types.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Type hierarchy to aid in splitting up of SHA2 algorithms
# as SHA224/256 are similar, and SHA-384/512 are similar
abstract SHA_CTX
abstract SHA2_CTX <: SHA_CTX
abstract SHA3_CTX <: SHA_CTX
@compat abstract type SHA_CTX end
@compat abstract type SHA2_CTX <: SHA_CTX end
@compat abstract type SHA3_CTX <: SHA_CTX end
import Base: copy

# We derive SHA1_CTX straight from SHA_CTX since it doesn't have a
Expand Down

0 comments on commit 3db3e78

Please sign in to comment.