Skip to content

Commit

Permalink
Merge pull request #83 from ohdatboi/fix_deprecation
Browse files Browse the repository at this point in the history
Fix deprecation warnings
  • Loading branch information
gedaiu authored Jul 12, 2018
2 parents f552329 + 97117b8 commit 29f71a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/fluentasserts/core/basetype.d
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ struct ShouldBaseType(T) {
mixin ShouldCommons;
mixin ShouldThrowableCommons;

alias above = this.greaterThan;
alias below = this.lessThan;
alias within = this.between;
alias above = typeof(this).greaterThan;
alias below = typeof(this).lessThan;
alias within = typeof(this).between;

auto equal(const T someValue, const string file = __FILE__, const size_t line = __LINE__) {
validateException;
Expand Down

0 comments on commit 29f71a6

Please sign in to comment.