Skip to content

Commit

Permalink
Fix @safe bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Atila Neves committed Mar 25, 2014
1 parent a9189fe commit 09d2786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cerealed/cereal.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public:

enum Type { Write, Read }

abstract Type type() const;
abstract ulong bytesLeft() const;
abstract Type type() @safe const;
abstract ulong bytesLeft() @safe const;

//catch all signed numbers and forward to reinterpret
final void grain(T)(ref T val) @safe if(!is(T == enum) &&
Expand Down

0 comments on commit 09d2786

Please sign in to comment.