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 cdc24e0 commit bc41a0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
julia 0.4
BinDeps
Blosc
Compat 0.8.0
Compat 0.17.0
@osx Homebrew 0.3.1
@windows WinRPM
2 changes: 1 addition & 1 deletion src/HDF5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ hdf5_type_id{S<:AbstractString}(::Type{S}) = H5T_C_S1

# Single character types
# These are needed to safely handle VLEN objects
abstract CharType <: AbstractString
@compat abstract type CharType <: AbstractString end
type ASCIIChar<:CharType
c::UInt8
end
Expand Down
2 changes: 1 addition & 1 deletion src/datafile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Types inheriting from DataFile should have names, read, and write
# methods

abstract DataFile
@compat abstract type DataFile end

import Base: read, write

Expand Down

0 comments on commit bc41a0f

Please sign in to comment.