mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[wpiutil] Remove unused ManagedStatic class (#4358)
We migrated to magic statics for lazy construction like the following:
```cpp
class Singleton {
static Singleton& GetSingleton() {
static Singleton instance;
return instance;
}
};
```
This commit is contained in:
@@ -60,7 +60,6 @@ def run_global_replacements(wpiutil_llvm_files):
|
||||
|
||||
# Replace llvm_unreachable() with wpi_unreachable()
|
||||
content = content.replace("llvm_unreachable", "wpi_unreachable")
|
||||
content = content.replace("llvm_shutdown", "wpi_shutdown")
|
||||
|
||||
content = content.replace("llvm_is_multithreaded()", "1")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user