Skip to content

Remove duplicate fmt formatter specialization and update upstream.#235

Merged
Sebanisu merged 4 commits into
mainfrom
newdevelop
May 25, 2026
Merged

Remove duplicate fmt formatter specialization and update upstream.#235
Sebanisu merged 4 commits into
mainfrom
newdevelop

Conversation

@Sebanisu

@Sebanisu Sebanisu commented May 24, 2026

Copy link
Copy Markdown
Owner

Delete local formatter specializations for BlendModeT, BPPT, and Point now provided or instantiated earlier by upstream OpenVIII_CPP_WIP headers.

Fixes fmt v11 redefinition and specialization-after-instantiation build errors.

Refactors formatting and layout in import.cpp for improved readability and consistency.

Also replaces implicit optional clearing:

m_import_image_map = {};

with the more explicit:

m_import_image_map.reset();

Changes

  • Reformat multiline ImGui::* conditionals
  • Normalize wrapping of if constexpr and comparison expressions
  • Align local variable spacing
  • Replace optional clearing assignment with .reset()
  • General readability cleanup in import GUI code

Notes

No functional changes intended besides the explicit optional reset behavior.

Replace deprecated positional Png::save arguments with
SaveSettings initialization to match upstream OpenVIII_CPP_WIP
API changes.

build: add fmt dependency and update vcpkg baseline

  • add fmt to vcpkg dependencies
  • pin fmt version to 12.0.0
  • update vcpkg builtin baseline

Delete local formatter specializations for BlendModeT, BPPT,
and Point now provided or instantiated earlier by upstream
OpenVIII_CPP_WIP headers.

Fixes fmt v11 redefinition and specialization-after-instantiation
build errors.
@Sebanisu Sebanisu self-assigned this May 24, 2026
@Sebanisu Sebanisu added the bug Something isn't working label May 24, 2026
Sebanisu added 3 commits May 24, 2026 10:25
Replace deprecated positional Png::save arguments with
SaveSettings initialization to match upstream OpenVIII_CPP_WIP
API changes.
- add fmt to vcpkg dependencies
- pin fmt version to 12.0.0
- update vcpkg builtin baseline
Refactors formatting and layout in `import.cpp` for improved readability and consistency.

Also replaces implicit optional clearing:

```cpp
m_import_image_map = {};
```

with the more explicit:

```cpp
m_import_image_map.reset();
```

## Changes

- Reformat multiline `ImGui::*` conditionals
- Normalize wrapping of `if constexpr` and comparison expressions
- Align local variable spacing
- Replace optional clearing assignment with `.reset()`
- General readability cleanup in import GUI code

## Notes

No functional changes intended besides the explicit optional reset behavior.
@Sebanisu Sebanisu changed the title Remove duplicate fmt formatter specializations Remove duplicate fmt formatter specialization and update upstream. May 25, 2026
@Sebanisu Sebanisu added the enhancement New feature or request label May 25, 2026
@Sebanisu Sebanisu merged commit d58c116 into main May 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant