Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1247 from redstar/simplifycent
Browse files Browse the repository at this point in the history
Simplify the check if cent/ucent is supported.
  • Loading branch information
yebblies committed May 1, 2015
2 parents 649ac78 + 52b8d84 commit fa57880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rt/typeinfo/ti_cent.d
Expand Up @@ -15,7 +15,7 @@ module rt.typeinfo.ti_cent;

private import rt.util.hash;

static if(__traits(compiles, { cent c = 42; })):
static if(is(cent)):

// cent

Expand Down
2 changes: 1 addition & 1 deletion src/rt/typeinfo/ti_ucent.d
Expand Up @@ -15,7 +15,7 @@ module rt.typeinfo.ti_ucent;

private import rt.util.hash;

static if (__traits(compiles, { ucent uc = 42; })):
static if (is(ucent)):

// ucent

Expand Down

0 comments on commit fa57880

Please sign in to comment.