On Thursday, 24 January 2019 at 16:04:06 UTC, Suliman wrote:
Error: static assert: "Cannot convert arguments '(MyUrl)' to function arguments '(MyUrl*)'."

You've forgotten to change the call site to pass a pointer.

However, it turns out that even if you do that, vibe will not allow you to pass a pointer in this situation:

.dub/packages/vibe-core-1.5.0/vibe-core/source/vibe/core/taskpool.d(114,21): Error: 
static assert:  "Argument type MyUrl* is not safe to pass between threads."

So, I'm not sure what the best solution here is.

Reply via email to