mirror of
https://git.citron-emu.org/Citron/Emulator.git
synced 2025-12-26 19:37:07 +00:00
This is equivalent to doing:
push_back(std::string(""));
which is likely not to cause issues, assuming a decent std::string
implementation with small-string optimizations implemented in its
design, however it's still a little unnecessary to copy that buffer
regardless. Instead, we can use emplace_back() to directly construct the
empty string within the std::vector instance, eliminating any possible
overhead from the copy.
|
||
|---|---|---|
| .. | ||
| common | ||
| core | ||
| input_common | ||
| tests | ||
| video_core | ||
| yuzu | ||
| yuzu_cmd | ||
| .clang-format | ||
| CMakeLists.txt | ||