You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by cj...@apache.org on 2017/11/22 17:21:06 UTC

[incubator-mxnet] branch v1.0.0 updated: Remove spureous std::move, fix warning regarding RVO being prevented (#8755)

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

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


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

commit e51da4c549b96a562e68fdfa5813edf49d6383e0
Author: Pedro Larroy <92...@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
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].