Fix lambda syntax error in test case macros - #217
Conversation
Fixed invalid lambda syntax from `[]() <typename T>` to proper C++ syntax `[]<typename T>()`.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #217 +/- ##
=======================================
Coverage 93.97% 93.97%
=======================================
Files 30 30
Lines 1775 1775
=======================================
Hits 1668 1668
Misses 107 107 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
How did that ever work?! Thank you for spotting and fixing this. Can I ask how you happened to notice this was not right? Was it causing an issue with a particular compiler? |
I don't think it has ever worked. My guess is that this macro has never been properly tested. I stumbled across this whilst using GCC 15.2. |
Ahah yes, you're right. |
Fixed invalid lambda syntax from
[]() <typename T>to proper C++ syntax[]<typename T>().