Enable -Wdeprecated-copy

Some classes violated the Rule of 3(5) in their special operator definitions.
This commit is contained in:
Nekotekina 2021-03-29 16:20:10 +03:00
parent 870224cde0
commit deacf05769
4 changed files with 55 additions and 8 deletions

View file

@ -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()