mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Remove const from testing parameters in testframe framework (#5214)
Makes testing parameters specified with AddTest non-const again when passed to test functions. This allows test functions to update their parameters during execution and is particularly useful for tests which use those parameters to accumulate statistics, error counts, etc. without resorting to global variables.
This commit is contained in:
+1
-1
@@ -477,7 +477,7 @@ test_array_info()
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
extern "C" void
|
||||
test_array(const void *params)
|
||||
test_array(void *params)
|
||||
{
|
||||
(void)params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user