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

Remove use of std::string in test #80422

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Aug 8, 2023

Can alternatively include <string> but since this would be the only place in the source using std::string save for the glsl module and the windows platform I'll lean to this

The only other places std::string is used are (excluding thirdparty/):

  • modules/glslang/register_types.cpp
  • platform/windows/crash_handler_windows.cpp

Fixes: #80421

@AThousandShips AThousandShips changed the title Replace use of std::string with String in test Replace use of std::string with Vector in test Aug 8, 2023
@akien-mga
Copy link
Member

Fixes:

FYI, "Fixes" should come directly before the issue number to work as a closing keyword (edited the OP).

Avoiding using the standard library here
@AThousandShips AThousandShips changed the title Replace use of std::string with Vector in test Remove use of std::string in test Aug 9, 2023
@akien-mga akien-mga merged commit 821579e into godotengine:master Aug 9, 2023
@AThousandShips AThousandShips deleted the shader_test_fix branch August 9, 2023 13:21
@akien-mga
Copy link
Member

Thanks!

@AThousandShips
Copy link
Member Author

Thank you!

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.

Incomplete type error when compiling unit tests
3 participants