This is an automated email from the ASF dual-hosted git repository.

cjolivier01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new abf01b4  Remove spureous std::move, fix warning regarding RVO being 
prevented (#8755)
abf01b4 is described below

commit abf01b4bf23f398b74b42bafb135bea7efe06e37
Author: Pedro Larroy <928489+lar...@users.noreply.github.com>
AuthorDate: Tue Nov 21 19:47:58 2017 -0800

    Remove spureous std::move, fix warning regarding RVO being prevented (#8755)
---
 src/operator/operator_tune.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/operator/operator_tune.h b/src/operator/operator_tune.h
index 4f92c9d..2088d46 100644
--- a/src/operator/operator_tune.h
+++ b/src/operator/operator_tune.h
@@ -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();
   }
 
   /*!

-- 
To stop receiving notification emails like this one, please contact
['"comm...@mxnet.apache.org" <comm...@mxnet.apache.org>'].

Reply via email to