optick icon indicating copy to clipboard operation
optick copied to clipboard

OPTICK_SAVE_CAPTURE doesn't take 0 arguments.

Open xoorath opened this issue 4 years ago • 1 comments

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. 🙂

xoorath avatar May 14 '20 05:05 xoorath

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.

xoorath avatar May 14 '20 05:05 xoorath