mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Workaround a bunch of stupid warnings in unit tests
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
static int nb_temporaries;
|
||||
|
||||
void on_temporary_creation(int size) {
|
||||
inline void on_temporary_creation(int size) {
|
||||
// here's a great place to set a breakpoint when debugging failures in this test!
|
||||
if(size!=0) nb_temporaries++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user