diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 11:46:59 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 11:50:12 -0400 |
commit | f3daecafeb532e830dc7f0643bf8ad84473b3f8b (patch) | |
tree | b7366f133734b5bbee70732e8c9ca30ae2cd606f /src/common/common_funcs.h | |
parent | 758c357868fca86edf3642a5a7e658839d35183c (diff) |
nvflinger: Emplace Display instances directly
We can use emplace_back to construct the Display instances directly,
instead of constructing them separately and copying them, avoiding the
need to copy std::string and std::vector instances that are part of the
Display struct.
Diffstat (limited to 'src/common/common_funcs.h')
0 files changed, 0 insertions, 0 deletions