Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store SceneInfo through a pointer instead of by value #631

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

RiscadoA
Copy link
Member

@RiscadoA RiscadoA commented Oct 1, 2023

Closes #630

Description

Previously compilation was failing due to std::vector<std::pair<std::string, SceneInfo>> not supporting forward declared SceneInfo on some compilers.
By storing a pointer to SceneInfo instead, we make it okay to do so.

@RiscadoA RiscadoA linked an issue Oct 1, 2023 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

PR Preview Action v1.4.4
🚀 Deployed preview to https://GameDevTecnico.github.io/cubos/pr-preview/pr-631/
on branch gh-pages at 2023-10-01 09:26 UTC

@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (d6dbcd2) 36.57% compared to head (b65bf58) 36.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #631   +/-   ##
=======================================
  Coverage   36.57%   36.57%           
=======================================
  Files          89       89           
  Lines        6368     6368           
=======================================
  Hits         2329     2329           
  Misses       4039     4039           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RiscadoA RiscadoA force-pushed the 630-clang-tidy-fails-on-scene_editorplugincpp branch from 1fa0b37 to b65bf58 Compare October 1, 2023 09:43
@RiscadoA RiscadoA changed the title Use map instead of vec of pairs in scene editor Store SceneInfo through a pointer instead of by value Oct 1, 2023
@RiscadoA RiscadoA self-assigned this Oct 1, 2023
@RiscadoA RiscadoA merged commit 47ce8c1 into main Oct 1, 2023
9 checks passed
@RiscadoA RiscadoA deleted the 630-clang-tidy-fails-on-scene_editorplugincpp branch October 1, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clang-tidy fails on scene_editor/plugin.cpp
2 participants