Alexander Wilms
522cb571b3
Remove redundant virtual
specifiers
`grep -nr virtual | grep -v googletest | grep override > ../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(":")
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-10 20:46:13 +01:00
..
2024-01-30 01:23:50 +02:00
2023-10-29 13:34:19 +00:00
2024-01-08 16:24:47 +02:00
2024-01-11 12:46:32 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2024-01-30 01:23:50 +02:00
2023-12-19 19:01:56 +02:00
2023-11-02 13:52:58 +02:00
2023-11-02 13:52:58 +02:00
2024-01-10 00:22:23 +00:00
2024-01-10 00:22:23 +00:00
2023-12-07 13:57:16 +02:00
2023-12-07 13:57:16 +02:00
2024-01-17 12:50:00 +00:00
2024-02-01 13:28:08 +02:00
2024-01-30 01:23:50 +02:00
2023-12-07 13:57:16 +02:00
2023-12-07 13:57:16 +02:00
2024-01-19 13:49:54 +02:00
2024-02-10 20:46:13 +01:00
2023-12-09 18:09:10 +02:00
2023-11-13 19:06:56 +02:00
2024-01-25 16:23:13 +02:00
2024-01-22 21:48:03 +02:00