cpp17-compat-remove-register-keyword.patch 392 B

123456789101112131415
  1. diff --git a/lemon/random.h b/lemon/random.h
  2. index 8de74ed..f9861f3 100644
  3. --- a/lemon/random.h
  4. +++ b/lemon/random.h
  5. @@ -249,8 +249,8 @@ namespace lemon {
  6. current = state + length;
  7. - register Word *curr = state + length - 1;
  8. - register long num;
  9. + Word *curr = state + length - 1;
  10. + long num;
  11. num = length - shift;
  12. while (num--) {