optick
optick copied to clipboard
OPTICK_SAVE_CAPTURE doesn't take 0 arguments.
Hey, I noticed in the documentation:
By default OPTICK_SAVE_CAPTURE(); generates a capture in current working directory: e.g. "capture(2019-08-11.23-45-17).opt"
However, this doesn't seem to be working:
'Optick::SaveCapture': no overloaded function takes 0 arguments
It also crashes if provided null. I don't need to use this version of the call, I'm happy to provide a name. Just mentioning this issue so it's tracked. 🙂
Sigh of course I re-read this issue and realized what the documentation meant this time reading it, lol.
If it isn't clear the confusion was that I assumed you could provide no arguments to OPTICK_SAVE_CAPTURE based on the wording of the doc. It's probably not that confusing to others, I might just be tired.