diff options
Diffstat (limited to 'runtime/gc/space/space_test.h')
-rw-r--r-- | runtime/gc/space/space_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/space/space_test.h b/runtime/gc/space/space_test.h index 413fc1d..ea0d290 100644 --- a/runtime/gc/space/space_test.h +++ b/runtime/gc/space/space_test.h @@ -75,7 +75,7 @@ class SpaceTest : public CommonRuntimeTest { void SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space); }; -static size_t test_rand(size_t* seed) { +static inline size_t test_rand(size_t* seed) { *seed = *seed * 1103515245 + 12345; return *seed; } |