diff --git a/csv.h b/csv.h index ff89c72..09cd053 100644 --- a/csv.h +++ b/csv.h @@ -1074,6 +1074,9 @@ namespace io{ template void parse(char*col, T&x){ + // Mute unused variable compiler warning + (void)col; + (void)x; // GCC evalutes "false" when reading the template and // "sizeof(T)!=sizeof(T)" only when instantiating it. This is why // this strange construct is used.