Merge pull request #21 from wilzbach/trailing-whitespace
Remove all trailing whitespace + add check
This commit is contained in:
commit
7f050af455
14 changed files with 109 additions and 106 deletions
|
@ -61,7 +61,7 @@ struct Waitable(CB, alias wait, alias cancel, on_result...)
|
|||
|
||||
bool cancelled;
|
||||
auto waitCallback(Callback cb) nothrow { return wait(cb); }
|
||||
|
||||
|
||||
static if (is(ReturnType!waitCallback == void))
|
||||
void cancelCallback(Callback cb) nothrow { cancel(cb); }
|
||||
else
|
||||
|
|
|
@ -440,7 +440,7 @@ template checkInterfaceConformance(T, I) {
|
|||
}
|
||||
alias checkMemberConformance = impl!0;
|
||||
}
|
||||
|
||||
|
||||
template impl(size_t i) {
|
||||
static if (i < Members.length) {
|
||||
static if (__traits(compiles, __traits(getMember, I, Members[i])))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue