BRAINSia/BRAINSStandAlone — comment on commit 8778dc548e26205d003ffd151869f8236062d367
File: BRAINSDemonWarp/debugImage.h.in line 8
By jcfr:

I would also suggest to avoid using macro, you could instead define an object, and or function that could be used instead.

The macro would be use just as a wrapper around the function call so that __LINE and __FILE__ are passed automatically.

For example, you could inspire from what's done here: https://github.com/benjaminlong/CTK/blob/QtTesting-FirstPass/Libs/QtTesting/ctkEventTranslatorPlayerWidget.h#L36