-
Notifications
You must be signed in to change notification settings - Fork 181
[Draft] Full removal of nall::vector #2200
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
00b88ad
cmake: disable build of optional targets in ubuntu-ci-qt
rasky db82548
stdc++: desktop-ui: migrate from nall::vector to std::vector
rasky a385cc3
stdc++: migrate part of mia to std::vector
rasky 1b457a1
stdc++: finish mia migration
rasky 95fe846
stdc++:: add global nall::split/match functions, migrate part of the …
rasky 221fa9f
stdc++: nall: finish migrating string split/match methods to functions
rasky efdf9ba
stdc++: nall: remove string::split and vector<string>::match
rasky 23723df
stdc++: nall::string remove non-const constructors to avoid problemat…
rasky c68c520
stdc++: ruby: fix freebsd build
rasky 1cf5a13
stdc++: hiro: fix qt backend build
rasky b7a415a
stdc++: apply review suggestions
rasky 7baf91f
stdc++: avoid nall::vector in implementation of split functions
rasky f182fb8
stdc++: nall: remove some uses of nall::vector
rasky 11d4114
stdc++: nall: migrate more uses to std::vector
rasky 2ba41a4
stdc++: nall: remove other nall::vector usages
rasky 77eb8a0
stdc++: migrate tools/tests removing uses of nall::vector
rasky 0766925
stdc++: nall: remove vector<string> specialization (not used anymore)
rasky 56ecfbb
stdc++: completely remove nall::vector, now unused
rasky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
stdc++: migrate tools/tests removing uses of nall::vector
- Loading branch information
commit 77eb8a0b3986fe1242bf566caeff806927499a9f
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -103,7 +103,7 @@ auto ListWindow::updateWindow() -> void { | |||||
| removeButton.setEnabled((bool)gameList.selected()); | ||||||
| string name = Location::base(location); | ||||||
| if(!name) name = "(Untitled)"; | ||||||
| setTitle({modified ? "*" : "", name, " [", games.size(), "] - genius"}); | ||||||
| setTitle({modified ? "*" : string{}, name, " [", games.size(), "] - genius"}); | ||||||
|
||||||
| setTitle({modified ? "*" : string{}, name, " [", games.size(), "] - genius"}); | |
| setTitle({modified ? "*" : "", name, " [", games.size(), "] - genius"}); |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lambda captures by reference but creates temporary string objects. Consider using
emplace_backinstead ofpush_backto construct the string in place:errors.emplace_back(std::forward<decltype(p)>(p)...);