commit 9ce6bcda8dc078cde153eade1b13d0336ab18666 parent 9f45f0e32bce0e7db19d39c010daa216e9df6733 Author: Dominik Schmidt <dominik@schm1dt.ch> Date: Fri, 16 Sep 2022 20:25:07 +0200 Fix deprecation warning Diffstat:
M | src/xdg/mime.d | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xdg/mime.d b/src/xdg/mime.d @@ -105,7 +105,7 @@ struct Magic{ in{ assert(ready()); } - body{ + do{ auto res = magic_file(cookie, path.toStringz); if(res == null){ throw new MagicException(this);