Skip to content

Commit

Permalink
delete operators to avoid rule-of-three violation warning (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes-intel authored Dec 2, 2024
1 parent 187d835 commit a2662e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/oneapi/dal/detail/profiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ class profiler_task {
#endif
~profiler_task();

profiler_task(profiler_task& other) = delete;

profiler_task& operator=(profiler_task& other) = delete;

private:
const char* task_name_;
#ifdef ONEDAL_DATA_PARALLEL
Expand Down

0 comments on commit a2662e7

Please sign in to comment.