Skip to content

Commit

Permalink
use struct instead of immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 committed Jun 11, 2017
1 parent 37d9347 commit 8e01d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/memory.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Memory
# ======

immutable Memory
struct Memory
ptr::Ptr{UInt8}
size::UInt
end
Expand Down
2 changes: 1 addition & 1 deletion src/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ end
# State Transition
# ----------------

immutable StateTransitionError <: Exception
struct StateTransitionError <: Exception
message::String
states::Pair{Symbol,Symbol}
end
Expand Down

0 comments on commit 8e01d23

Please sign in to comment.