Skip to content
This repository has been archived by the owner on Nov 18, 2019. It is now read-only.

Commit

Permalink
Remove spureous std::move, fix warning regarding RVO being prevented …
Browse files Browse the repository at this point in the history
…(#8755)
  • Loading branch information
larroy authored and Olivier committed Nov 22, 2017
1 parent b63bec6 commit e51da4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/operator_tune.h
Expand Up @@ -56,7 +56,7 @@ class OperatorTuneBase {
* \return Tick object representing the current itmestamp
*/
static MSHADOW_CINLINE Tick Now() {
return std::move(std::chrono::high_resolution_clock::now());
return std::chrono::high_resolution_clock::now();
}

/*!
Expand Down

0 comments on commit e51da4c

Please sign in to comment.