Skip to content

Commit

Permalink
Fix natvis XML (#3863)
Browse files Browse the repository at this point in the history
* 🐛 fix natvis XML

* 🐛 fix natvis XML
  • Loading branch information
nlohmann authored Dec 9, 2022
1 parent 8f83153 commit 349e4b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ jobs:
run: cmake --build build --target ${{ matrix.target }}

ci_cmake_flags:
runs-on: ubuntu-focal
runs-on: ubuntu-latest
container: ubuntu:focal
steps:
- uses: actions/checkout@v3
- name: Get latest CMake and ninja
Expand Down
4 changes: 3 additions & 1 deletion nlohmann_json.natvis
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>

<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * -->
<!-- Edit ./tools/generate_natvis/nlohmann_json.natvis.j2 -->
<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * -->
<?xml version="1.0" encoding="utf-8"?>

<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!-- Namespace nlohmann -->
<Type Name="nlohmann::basic_json&lt;*&gt;">
Expand Down
4 changes: 3 additions & 1 deletion tools/generate_natvis/nlohmann_json.natvis.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>

<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * -->
<!-- Edit ./tools/generate_natvis/nlohmann_json.natvis.j2 -->
<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * -->
<?xml version="1.0" encoding="utf-8"?>

<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
{% for ns in namespaces %}
<!-- Namespace {{ ns }} -->
Expand Down

0 comments on commit 349e4b3

Please sign in to comment.