Skip to content

Commit

Permalink
Remove -std=c++17 from .clangd
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Nov 6, 2024
1 parent 26af1df commit cae8ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/.local/bin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def create_clangd_config_ros(workspace_dir: Path, ros_distro: str) -> None:
"""
build_path = workspace_dir / (f"build_{ros_distro}" if ros_distro else "build")
packages = get_ros_packages_path(workspace_dir / "src")
clangd_configs = [{"CompileFlags": {"Add": ["-std=c++17"]}}]
clangd_configs = []
clangd_configs.extend(
{
"If": {"PathMatch": [f"{Path(path).relative_to(workspace_dir)}/.*"]},
Expand Down

0 comments on commit cae8ee0

Please sign in to comment.