This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository aghermann.

commit f068386317de1375dbb075a8a197adbbc73c23e5
Author: Andrei Zavada <[email protected]>
Date:   Tue Oct 8 02:18:37 2013 +0300

    don't move() retval from SCachedEnvelope::centre()
---
 upstream/src/libsigproc/sigproc.hh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/upstream/src/libsigproc/sigproc.hh 
b/upstream/src/libsigproc/sigproc.hh
index 8ccf90a..c1a0674 100644
--- a/upstream/src/libsigproc/sigproc.hh
+++ b/upstream/src/libsigproc/sigproc.hh
@@ -191,7 +191,8 @@ struct SCachedEnvelope
         centre( double scope_)
                 {
                         operator()( scope_);
-                        return move(mid);
+                        return const_cast<const valarray<T>&>(mid);  // move() 
is *not* appropriate here
+                }
                 }
 
     private:

-- 
Alioth's /git/debian-med/git-commit-notice on 
/srv/git.debian.org/git/debian-med/aghermann.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to