BenjaminSchaaf / daffodil

A image processing library for D
MIT License
12 stars 3 forks source link

Remove type from enforce in checkValid alias #39

Open Tooniis opened 2 years ago

Tooniis commented 2 years ago

enforce was turned into an eponymous template in phobos 2.079 (https://github.com/dlang/phobos/commit/611e62c96f510b117de9d56279fa7ef9c87e56ad), making daffodil fail to build:

source/daffodil/bmp/package.d(102,24): Error: template `std.exception.enforce` does not match any template declaration
source/daffodil/bmp/package.d(31,10): Error: template instance `daffodil.bmp.loadMeta!(InputRange!ubyte)` error instantiating

Remove bool to make it build successfully again.

BenjaminSchaaf commented 2 years ago

Hi, this repository isn't being developed anymore. Are you using it and want to take ownership?

Tooniis commented 2 years ago

I've just found this library and wanted to try it for something, then I had to make this fix to get it to build. I'm not really using it, at least not yet.

BenjaminSchaaf commented 2 years ago

Ok, I'll archive it then.