Skip to content

Commit

Permalink
Changing auto to auto ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstahlmann committed Nov 16, 2015
1 parent 47a73ad commit 2c5c1da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ language: d

d:
- dmd-2.068.0
- dmd-2.069.1

install:
- wget -O doveralls https://github.com/ColdenCullen/doveralls/releases/download/v1.1.4/doveralls_linux_travis
Expand Down
2 changes: 1 addition & 1 deletion source/db_constraints/constraints.d
Expand Up @@ -65,7 +65,7 @@ This is checked the same time as all the other check constraints. The name of
the constraint is NotNull in the error messages if this is ever violated.
*/
alias NotNull = CheckConstraint!(
function bool(auto a)
function bool(auto ref a)
{
static if (__traits(hasMember, typeof(a), "isNull"))
{
Expand Down

0 comments on commit 2c5c1da

Please sign in to comment.