mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
HAND FIXES: Update upstream for namespace changes
This commit is contained in:
committed by
Peter Johnson
parent
cf711a125e
commit
ae6c043632
@@ -27,7 +27,7 @@ def copy_upstream_src(wpilib_root: Path):
|
||||
content = f.read()
|
||||
|
||||
# Rename namespace from stdx to wpi
|
||||
content = content.replace("namespace stdx", "namespace wpi")
|
||||
content = content.replace("namespace stdx", "namespace wpi::util")
|
||||
|
||||
with open(filename, "w") as f:
|
||||
f.write(content)
|
||||
|
||||
Reference in New Issue
Block a user