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

Commit

Permalink
Fix static asserts that can't fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
venix1 committed Jan 15, 2012
1 parent 7847f2b commit 3a19735
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/thread.d
Expand Up @@ -1537,7 +1537,7 @@ private:
}
else
{
static assert( "Architecture not supported." );
static assert(false, "Architecture not supported." );
}
}
else version( OSX )
Expand All @@ -1553,7 +1553,7 @@ private:
}
else
{
static assert( "Architecture not supported." );
static assert(false, "Architecture not supported." );
}
}

Expand Down Expand Up @@ -2259,7 +2259,7 @@ extern (C) void thread_suspendAll()
}
else
{
static assert( "Architecture not supported." );
static assert(false, "Architecture not supported." );
}
}
else version( OSX )
Expand Down Expand Up @@ -2323,7 +2323,7 @@ extern (C) void thread_suspendAll()
}
else
{
static assert( "Architecture not supported." );
static assert(false, "Architecture not supported." );
}
}
else version( Posix )
Expand Down

0 comments on commit 3a19735

Please sign in to comment.