Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
Signed-off-by: minmingzhu <minming.zhu@intel.com>
  • Loading branch information
minmingzhu committed Jul 31, 2023
1 parent 0134667 commit e39a186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mllib-dal/src/main/native/Profile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

class Profiler {
public:
Profiler(std::string s) : subject(s) {}
Profiler(std::string s) : subject(std::move(s)) {}

void startProfile(std::string s = "") {
action = s;
action = std::move(s);
std::cout << subject << " (native): start " << action << std::endl;
startTime = std::chrono::high_resolution_clock::now();
}
Expand Down

0 comments on commit e39a186

Please sign in to comment.