Skip to content

Commit

Permalink
Compatible with the old API
Browse files Browse the repository at this point in the history
  • Loading branch information
Heromyth committed Apr 29, 2020
1 parent 4f44e47 commit 2c2d382
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/hunt/cache/Cache.d
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ final class Cache
}
}

deprecated("Using set instead.")
alias put = set;

private void set(A, V) (string key, V v, uint expired = 0)
{
if(!_option.prefix.empty())
Expand Down

0 comments on commit 2c2d382

Please sign in to comment.