Alexander Wilms
678cacbd25
Remove more redundant virtual
specifiers
`grep -nr "virtual " | grep -v googletest | grep " override" | grep -v overriden > ../redundant_virtual.txt`
```python
import os
with open("../redundant_virtual.txt") as f:
for line in f:
print()
line: str = line.strip()
print(line)
tmp = line.split(":",2)
file = tmp[0].strip()
code = tmp[-1].strip()
print(file)
print(code)
new_code = code.replace("virtual ", "", 1)
# https://superuser.com/a/802490/578501
command = f"export FIND='{code}' && export REPLACE='{new_code}' && ruby -p -i -e \"gsub(ENV['FIND'], ENV['REPLACE'])\" {file}"
os.system(command)
```
2024-02-13 15:21:30 +01:00
..
2024-02-12 13:22:54 +02:00
2024-02-13 15:21:30 +01:00
2024-01-31 20:01:24 +02:00
2024-02-05 21:27:55 +02:00
2024-01-17 12:50:00 +00:00
2024-01-31 16:41:42 +02:00
2024-02-12 12:53:10 +02:00
2024-02-01 22:27:41 +02:00
2024-02-10 20:46:13 +01:00
2024-02-11 17:31:30 +02:00
2024-01-20 20:34:51 +02:00
2024-02-04 19:58:09 +02:00
2024-02-12 12:31:27 +02:00
2024-02-13 15:21:30 +01:00
2024-02-05 18:46:48 +02:00
2024-01-31 00:17:40 +02:00
2024-02-13 15:21:30 +01:00
2024-02-12 13:05:30 +02:00
2024-01-31 00:17:40 +02:00
2023-12-16 21:10:27 +01:00
2024-01-27 15:28:21 +02:00
2024-01-19 13:54:49 +02:00
2024-01-14 17:14:36 +02:00
2024-01-19 13:49:54 +02:00
2024-02-13 15:21:30 +01:00
2024-01-27 23:01:57 +02:00
2024-02-10 20:46:13 +01:00
2024-01-19 13:56:06 +02:00
2024-01-20 20:34:51 +02:00
2024-01-24 13:43:35 +02:00
2024-01-20 20:34:51 +02:00
2024-01-31 00:17:40 +02:00
2024-02-10 20:46:13 +01:00
2024-01-20 19:22:46 +02:00
2024-02-13 15:21:30 +01:00
2024-02-01 22:27:41 +02:00
2024-02-13 15:21:30 +01:00
2024-01-20 20:34:51 +02:00
2024-02-13 15:21:30 +01:00
2024-02-12 13:22:54 +02:00
2024-01-31 20:01:24 +02:00
2024-02-05 21:56:06 +02:00
2024-02-05 21:27:55 +02:00
2024-01-20 20:34:51 +02:00
2024-01-20 20:34:51 +02:00
2024-01-19 13:54:49 +02:00
2024-01-31 01:37:33 +02:00
2024-01-16 21:12:57 +02:00
2024-01-20 20:34:51 +02:00
2024-01-16 19:02:39 +00:00
2024-01-19 13:54:49 +02:00
2024-01-20 20:34:51 +02:00
2024-01-10 00:22:23 +00:00
2023-12-14 10:29:42 +03:00
2024-01-10 00:22:23 +00:00
2024-01-19 13:55:22 +02:00
2024-01-19 13:55:22 +02:00
2024-01-20 17:54:15 +01:00
2024-01-20 20:34:51 +02:00
2024-01-19 13:55:22 +02:00
2024-02-07 19:27:02 +01:00
2024-02-07 19:27:02 +01:00
2024-02-03 21:11:34 +02:00
2024-02-01 22:27:41 +02:00
2024-01-19 13:55:22 +02:00
2024-02-12 12:32:35 +02:00
2024-02-12 13:22:54 +02:00
2024-02-02 13:09:12 +02:00
2024-02-02 13:09:12 +02:00
2024-01-25 16:23:13 +02:00
2024-01-19 23:02:00 +02:00
2023-12-16 19:26:41 +01:00
2024-01-17 20:12:57 +00:00
2024-01-10 00:22:23 +00:00
2024-01-20 20:34:51 +02:00
2024-02-01 18:22:11 +02:00
2024-02-01 18:22:11 +02:00
2024-01-10 00:22:23 +00:00
2024-01-20 20:34:51 +02:00
2024-01-20 20:34:51 +02:00
2023-12-30 00:29:31 +01:00
2024-01-20 20:34:51 +02:00
2024-01-19 13:54:49 +02:00
2024-02-13 15:21:30 +01:00
2024-01-19 13:54:49 +02:00
2024-02-13 15:21:30 +01:00
2024-02-12 12:33:09 +02:00
2024-01-17 12:50:00 +00:00
2024-01-20 20:34:51 +02:00
2024-01-26 16:32:36 +02:00
2024-01-26 16:52:23 +02:00
2024-02-13 15:21:30 +01:00
2024-01-19 23:49:59 +02:00
2024-01-19 23:49:59 +02:00
2023-12-22 18:40:28 +02:00
2024-01-20 20:34:51 +02:00
2024-01-19 13:56:05 +02:00
2024-01-19 13:56:05 +02:00