-
Notifications
You must be signed in to change notification settings - Fork 222
Fix #5449 - Eliminate the Singleton templated class and the StaticInitializer one #5450
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57d2295 to
e508aab
Compare
🧪 Test Results DashboardSummary
|
| Run | XML File | Status |
|---|---|---|
| run1 | results.xml |
✅ Found |
| run2 | results.xml |
✅ Found |
| run3 | results.xml |
✅ Found |
e508aab to
240a1c5
Compare
7dce082 to
6e04639
Compare
Remove StaticInitializer base class and related code from EnumBase Modern C++ (since C++11) guarantees thread-safe initialization of function-local static variables, including on MSVC (since Visual Studio 2015). This makes the custom StaticInitializer mechanism obsolete. Function-local statics like getNames(), getValues(), getLookupMap(), and getDescriptions() already provide safe, lazy, and one-time initialization across threads. Removing StaticInitializer simplifies the code, reduces complexity, and relies on standard, well-tested language features available on all supported compilers.
…rabbing older iddFiles in particular)
6e04639 to
6199dd7
Compare
Collaborator
|
CI Results for 6199dd7:
|
jmarrec
added a commit
to openstudiocoalition/OpenStudioApplication
that referenced
this pull request
Dec 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Developer Issue
Pull Request - Ready for CI
This pull request if finalized and is ready for continuous integration verification prior to merge.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request overview
Pull Request Author
src/model/test)src/energyplus/Test)src/osversion/VersionTranslator.cpp)Labels:
IDDChangeAPIChangePull Request - Ready for CIso that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.