mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
Enable -Wdeprecated-copy
Some classes violated the Rule of 3(5) in their special operator definitions.
This commit is contained in:
parent
870224cde0
commit
deacf05769
4 changed files with 55 additions and 8 deletions
|
@ -390,11 +390,11 @@ namespace rsx
|
|||
|
||||
void thread::capture_frame(const std::string &name)
|
||||
{
|
||||
frame_trace_data::draw_state draw_state = {};
|
||||
frame_trace_data::draw_state draw_state{};
|
||||
|
||||
draw_state.programs = get_programs();
|
||||
draw_state.name = name;
|
||||
frame_debug.draw_calls.push_back(draw_state);
|
||||
frame_debug.draw_calls.emplace_back(std::move(draw_state));
|
||||
}
|
||||
|
||||
void thread::begin()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue